Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001275, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001291/0.001291, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.426/1.426, 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 12.0.0-master/package.mo): time 2.848/2.848, allocations: 474.5 MB / 0.7477 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.89 kB / 1.073 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8774/0.8795, allocations: 160.3 MB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.00446/0.884, allocations: 2.749 MB / 1.232 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.8864, allocations: 1.096 MB / 1.233 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.8866, allocations: 4 kB / 1.233 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.8874, allocations: 210.7 kB / 1.233 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.8876, allocations: 87.23 kB / 1.233 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005618/0.8881, allocations: 179.7 kB / 1.233 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.8886, allocations: 407.7 kB / 1.234 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.8891, allocations: 213.8 kB / 1.234 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.8893, allocations: 151.3 kB / 1.234 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.8895, allocations: 175 kB / 1.234 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.8896, allocations: 40 kB / 1.234 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.8899, allocations: 171.8 kB / 1.234 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.8902, allocations: 267.1 kB / 1.235 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.8905, allocations: 353.6 kB / 1.235 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.8917, allocations: 0.9726 MB / 1.236 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.8917, allocations: 0 / 1.236 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8917, allocations: 0 / 1.236 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.8918, allocations: 0 / 1.236 GB, free: 3.766 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001765/0.8935, allocations: 1.162 MB / 1.237 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8936, allocations: 12.03 kB / 1.237 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.8949, allocations: 244 kB / 1.237 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.8963, allocations: 0.7237 MB / 1.238 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.8963, allocations: 29.03 kB / 1.238 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.8964, allocations: 32.38 kB / 1.238 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.8972, allocations: 378.5 kB / 1.239 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.8973, allocations: 7.938 kB / 1.239 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.8973, allocations: 8 kB / 1.239 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.8973, allocations: 12 kB / 1.239 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.8984, allocations: 422.3 kB / 1.239 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.9017, allocations: 1.784 MB / 1.241 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/0.9024, allocations: 214.6 kB / 1.241 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.9027, allocations: 100.8 kB / 1.241 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.9027, allocations: 11.94 kB / 1.241 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.9028, allocations: 38.5 kB / 1.241 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.9028, allocations: 0 / 1.241 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.001116/0.9039, allocations: 382.9 kB / 1.241 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.904, allocations: 55.41 kB / 1.241 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.9055, allocations: 1.239 MB / 1.243 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.9055, allocations: 33.7 kB / 1.243 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.906, allocations: 432.4 kB / 1.243 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.906, allocations: 71.73 kB / 1.243 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.9061, allocations: 61.64 kB / 1.243 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9063, allocations: 318 kB / 1.244 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.9066, allocations: 143.9 kB / 1.244 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.9071, allocations: 205.9 kB / 1.244 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.9077, allocations: 279.5 kB / 1.244 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9077, allocations: 0 / 1.244 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009571/0.9087, allocations: 468.8 kB / 1.245 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9087, allocations: 8 kB / 1.245 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.9087, allocations: 0 / 1.245 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.9088, allocations: 7.938 kB / 1.245 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.9091, allocations: 55.89 kB / 1.245 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9091, allocations: 4 kB / 1.245 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.9094, allocations: 35.83 kB / 1.245 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.9095, allocations: 15.98 kB / 1.245 GB, free: 10.52 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003413/0.9098, allocations: 269.6 kB / 1.245 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.9099, allocations: 87.44 kB / 1.245 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008737/0.9108, allocations: 331.8 kB / 1.245 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9108, allocations: 0 / 1.245 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9108, allocations: 0 / 1.245 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.9109, allocations: 8 kB / 1.245 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.9126, allocations: 0.9996 MB / 1.246 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.9126, allocations: 0 / 1.246 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.9129, allocations: 48.09 kB / 1.246 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.9129, allocations: 4 kB / 1.246 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.9129, allocations: 11.98 kB / 1.246 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9129, allocations: 0 / 1.246 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.913, allocations: 4 kB / 1.246 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.9138, allocations: 436.1 kB / 1.247 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.9141, allocations: 216.4 kB / 1.247 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.9141, allocations: 12 kB / 1.247 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.9144, allocations: 11.98 kB / 1.247 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.9145, allocations: 35.83 kB / 1.247 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.9145, allocations: 8 kB / 1.247 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00116/0.9157, allocations: 0.9067 MB / 1.248 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9157, allocations: 3.938 kB / 1.248 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004528/0.9162, allocations: 99.78 kB / 1.248 GB, free: 6.91 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002296/0.9164, allocations: 123.1 kB / 1.248 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000784/0.9172, allocations: 281 kB / 1.248 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9172, allocations: 0 / 1.248 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.9175, allocations: 104.1 kB / 1.249 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.918, allocations: 65.52 kB / 1.249 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.9205, allocations: 1.392 MB / 1.25 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.9212, allocations: 0.9922 MB / 1.251 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003126/0.9215, allocations: 104.6 kB / 1.251 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.9216, allocations: 47.42 kB / 1.251 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.9216, allocations: 0 / 1.251 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of Templates: time 0.01269/0.9343, allocations: 5.6 MB / 1.257 GB, free: 14.14 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches