Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001246/0.001246, allocations: 105.3 kB / 16.41 MB, free: 6.457 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.001434/0.001434, allocations: 189.6 kB / 17.35 MB, free: 5.742 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 461.7 MB / 0.7352 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7891, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003691/0.7929, allocations: 2.435 MB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.7938, allocations: 0.5431 MB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.794, allocations: 4 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.7944, allocations: 127.4 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.7946, allocations: 91.27 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.7948, allocations: 43.95 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.7951, allocations: 242.7 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.7953, allocations: 106.8 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.7954, allocations: 91.59 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.7956, allocations: 95.5 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.7956, allocations: 24 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.7957, allocations: 20 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.7958, allocations: 79.69 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.7959, allocations: 155 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.7963, allocations: 336.6 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7963, allocations: 8 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7963, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.7963, allocations: 0 / 1.212 GB, free: 9.277 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008468/0.7971, allocations: 0.6456 MB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7972, allocations: 8.031 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.7973, allocations: 44.38 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.7976, allocations: 306.2 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.7977, allocations: 16.31 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.479e-05/0.7977, allocations: 12.38 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.798, allocations: 139.5 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.798, allocations: 4.188 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.798, allocations: 7.938 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.798, allocations: 4 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.7983, allocations: 91.95 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.7991, allocations: 0.5819 MB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.7993, allocations: 98.58 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.7994, allocations: 44.84 kB / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.7994, allocations: 4 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.7995, allocations: 30.56 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.7995, allocations: 0 / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0003451/0.7998, allocations: 149.1 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.7999, allocations: 59.39 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.8002, allocations: 389.9 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.8002, allocations: 25.7 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.8004, allocations: 212 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.8004, allocations: 35.45 kB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.8005, allocations: 25.72 kB / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8006, allocations: 354.7 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.8007, allocations: 31.92 kB / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/0.8008, allocations: 55.42 kB / 1.216 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.8009, allocations: 87.73 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.801, allocations: 7.938 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002412/0.8012, allocations: 149.1 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.8012, allocations: 4 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8012, allocations: 0 / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8013, allocations: 4 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.8014, allocations: 23.98 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8014, allocations: 0 / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/0.8015, allocations: 11.98 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.8015, allocations: 12 kB / 1.216 GB, free: 5.398 MB / 0.9356 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.0001361/0.8016, allocations: 165.7 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.8017, allocations: 35.53 kB / 1.216 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.8018, allocations: 39.22 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8018, allocations: 3.984 kB / 1.216 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8018, allocations: 4 kB / 1.216 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.8019, allocations: 108.7 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.8019, allocations: 7.938 kB / 1.216 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.802, allocations: 7.984 kB / 1.216 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.8021, allocations: 4 kB / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000302/0.8024, allocations: 180.9 kB / 1.217 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000358/0.8027, allocations: 330.3 kB / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.272e-05/0.8028, allocations: 40.19 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002405/0.8031, allocations: 283.1 kB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of Backend: time 6.01e-07/0.8031, allocations: 0 / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.8035, allocations: 128.5 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001102/0.8046, allocations: 1.097 MB / 1.218 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of Templates: time 0.004796/0.8094, allocations: 1.432 MB / 1.22 GB, free: 1.469 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches