Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 112.5 kB / 16.42 MB, free: 6.512 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.001231/0.001231, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9759/0.9777, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004745/0.9825, allocations: 2.439 MB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.9834, allocations: 0.5392 MB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.783e-05/0.9835, allocations: 7.938 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.984, allocations: 131.5 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.9841, allocations: 91.27 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.9843, allocations: 35.97 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.9846, allocations: 246.7 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.9849, allocations: 107.1 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.985, allocations: 87.61 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.9852, allocations: 99.5 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.9853, allocations: 20.05 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.9853, allocations: 16 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.9855, allocations: 83.64 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.9856, allocations: 163 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.9861, allocations: 342.8 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9861, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9861, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.9861, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000963/0.9871, allocations: 0.6649 MB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.9871, allocations: 8.922 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.9872, allocations: 44.66 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.9876, allocations: 302.5 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.9876, allocations: 24.36 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.9877, allocations: 12.38 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.988, allocations: 147.5 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.988, allocations: 192 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.988, allocations: 7.938 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.988, allocations: 4 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.9883, allocations: 88.58 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.9892, allocations: 0.5937 MB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.9894, allocations: 86.56 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.9895, allocations: 48.88 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.9896, allocations: 0 / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.9896, allocations: 34.56 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.9896, allocations: 0 / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0004685/0.9901, allocations: 149.7 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.9901, allocations: 51.5 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.9905, allocations: 393.9 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.9906, allocations: 29.7 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.9907, allocations: 216.2 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.9908, allocations: 27.75 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.9908, allocations: 29.7 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.991, allocations: 358.7 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.9911, allocations: 27.92 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.9912, allocations: 55.42 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.9914, allocations: 91.3 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9914, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002519/0.9916, allocations: 149.3 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9917, allocations: 8 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.9917, allocations: 0 / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.9917, allocations: 4 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9918, allocations: 23.98 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.9918, allocations: 96 / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.9919, allocations: 11.95 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.9919, allocations: 8 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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 0.0001581/0.9921, allocations: 169.6 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.9921, allocations: 35.77 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.9922, allocations: 39.22 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9922, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9922, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.9923, allocations: 112.9 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.9924, allocations: 15.94 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.9925, allocations: 0 / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.9925, allocations: 8.078 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003269/0.9929, allocations: 188.8 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003952/0.9933, allocations: 330.5 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.492e-05/0.9934, allocations: 36.08 kB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002703/0.9937, allocations: 287.1 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of Backend: time 2.5e-07/0.9937, allocations: 0 / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.9941, allocations: 126.3 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001471/0.9956, allocations: 1.101 MB / 1.178 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of Templates: time 0.00513/1.001, allocations: 1.442 MB / 1.179 GB, free: 7.547 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches