Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001219/0.001219, allocations: 109.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.001477/0.001477, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003744/1.023, allocations: 2.447 MB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008665/1.024, allocations: 0.5297 MB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/1.024, allocations: 3.719 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004224/1.025, allocations: 129.7 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/1.025, allocations: 90.59 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/1.025, allocations: 47.98 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/1.025, allocations: 247.9 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/1.026, allocations: 116 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/1.026, allocations: 81.34 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/1.026, allocations: 93.83 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/1.026, allocations: 22.81 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.07e-05/1.026, allocations: 18.47 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/1.026, allocations: 81.17 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/1.026, allocations: 155.4 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004357/1.027, allocations: 341 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.027, allocations: 5.344 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/1.027, allocations: 0 / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.027, allocations: 0 / 1.093 GB, free: 2.68 MB / 0.8575 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.0008393/1.028, allocations: 0.6458 MB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.028, allocations: 8.891 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.066e-05/1.028, allocations: 44.72 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/1.028, allocations: 303.8 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/1.028, allocations: 13.98 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/1.028, allocations: 18.72 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/1.029, allocations: 139.9 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.029, allocations: 5.781 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/1.029, allocations: 9.562 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.029, allocations: 3.125 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/1.029, allocations: 96.45 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/1.03, allocations: 0.5815 MB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/1.03, allocations: 86.06 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/1.03, allocations: 51.62 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/1.03, allocations: 5.531 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/1.03, allocations: 40.05 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/1.03, allocations: 0 / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003638/1.031, allocations: 147.1 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/1.031, allocations: 52.78 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/1.031, allocations: 393.4 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/1.031, allocations: 26.45 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/1.031, allocations: 213.2 kB / 1.096 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/1.031, allocations: 30.16 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/1.031, allocations: 35.86 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/1.031, allocations: 352.8 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/1.031, allocations: 25.09 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.6e-05/1.032, allocations: 53.77 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/1.032, allocations: 93.83 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.032, allocations: 0 / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002763/1.032, allocations: 142.7 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.032, allocations: 5.438 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.032, allocations: 2.344 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.032, allocations: 1.5 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.032, allocations: 31.36 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.032, allocations: 2.469 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/1.032, allocations: 7.438 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/1.032, allocations: 11.77 kB / 1.096 GB, free: 8 kB / 0.8575 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.0001891/1.033, allocations: 165.2 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/1.033, allocations: 32.14 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.072e-05/1.033, allocations: 39.11 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.033, allocations: 0.7188 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.033, allocations: 4.734 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/1.033, allocations: 121.2 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/1.033, allocations: 4.969 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/1.033, allocations: 2.234 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/1.033, allocations: 5.812 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003276/1.033, allocations: 181.2 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004187/1.034, allocations: 340.5 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.654e-05/1.034, allocations: 36.81 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003407/1.034, allocations: 285.6 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of Backend: time 5.31e-07/1.034, allocations: 0 / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004682/1.035, allocations: 123.8 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001418/1.036, allocations: 1.083 MB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.005332/1.042, allocations: 1.451 MB / 1.1 GB, free: 14.06 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches