Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 113.3 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 190.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 67.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.128, allocations: 159.1 MB / 1.221 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002197/1.13, allocations: 0.6564 MB / 1.222 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001074/1.131, allocations: 0.8195 MB / 1.222 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/1.131, allocations: 0 / 1.222 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/1.131, allocations: 0 / 1.222 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/1.131, allocations: 3.938 kB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/1.132, allocations: 7.984 kB / 1.222 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.382e-05/1.132, allocations: 23.94 kB / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/1.132, allocations: 15.97 kB / 1.222 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/1.132, allocations: 7.938 kB / 1.222 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/1.132, allocations: 7.984 kB / 1.222 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/1.132, allocations: 4 kB / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/1.132, allocations: 0 / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/1.132, allocations: 4 kB / 1.222 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/1.132, allocations: 11.94 kB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/1.132, allocations: 23.89 kB / 1.222 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.132, allocations: 0 / 1.222 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/1.132, allocations: 3.938 kB / 1.223 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.132, allocations: 0 / 1.223 GB, free: 0.7031 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005028/1.133, allocations: 347.3 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.133, allocations: 12.56 kB / 1.223 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/1.133, allocations: 0.9375 kB / 1.223 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/1.133, allocations: 164.4 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/1.133, allocations: 4.375 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/1.133, allocations: 384 / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/1.133, allocations: 50.23 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.133, allocations: 4.188 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/1.133, allocations: 3.938 kB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.133, allocations: 3.984 kB / 1.223 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/1.133, allocations: 36.03 kB / 1.223 GB, free: 16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/1.134, allocations: 256.8 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/1.134, allocations: 42.5 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/1.134, allocations: 24.89 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/1.134, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.134, allocations: 34.56 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/1.134, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003785/1.135, allocations: 93.61 kB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/1.135, allocations: 51.41 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/1.135, allocations: 93.86 kB / 1.224 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/1.135, allocations: 25.7 kB / 1.224 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/1.135, allocations: 88.12 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/1.135, allocations: 7.906 kB / 1.224 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/1.135, allocations: 9.719 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.135, allocations: 314.8 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/1.135, allocations: 20.02 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/1.135, allocations: 19.97 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.135, allocations: 36.83 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.135, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002048/1.136, allocations: 73.59 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.136, allocations: 8 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.136, allocations: 0 / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.136, allocations: 0 / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/1.136, allocations: 11.98 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.136, allocations: 0 / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/1.136, allocations: 4 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/1.136, allocations: 0 / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/1.136, allocations: 114.4 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/1.136, allocations: 7.922 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/1.136, allocations: 72.72 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.136, allocations: 3.938 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/1.136, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/1.136, allocations: 81.02 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/1.136, allocations: 4 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/1.136, allocations: 8.016 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/1.136, allocations: 8 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002564/1.137, allocations: 144.9 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002645/1.137, allocations: 242.8 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.884e-05/1.137, allocations: 15.97 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.763e-05/1.137, allocations: 83.28 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of Backend: time 8.61e-07/1.137, allocations: 0 / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004673/1.138, allocations: 98.38 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005928/1.138, allocations: 0.5672 MB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.002796/1.141, allocations: 0.5283 MB / 1.226 GB, free: 12.61 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches