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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.016/2.016, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 189.2 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 88.34 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.744e-06/7.764e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2335, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6327/0.8662, allocations: 154 MB / 1.362 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.8665, allocations: 87.28 kB / 1.362 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02896/0.8954, allocations: 11.8 MB / 1.374 GB, free: 15.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.8955, allocations: 13.41 kB / 1.374 GB, free: 15.98 MB / 0.823 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.00108/0.8966, allocations: 0.8586 MB / 1.374 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.8966, allocations: 8.938 kB / 1.374 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.8979, allocations: 263.3 kB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.8985, allocations: 0.5544 MB / 1.375 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.8986, allocations: 10.7 kB / 1.375 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.8986, allocations: 17.09 kB / 1.375 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006737/0.8993, allocations: 406.1 kB / 1.376 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.8999, allocations: 346.7 kB / 1.376 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.8999, allocations: 0 / 1.376 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.9, allocations: 4.938 kB / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.9, allocations: 7.828 kB / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.9041, allocations: 2.131 MB / 1.378 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.9047, allocations: 235.6 kB / 1.378 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.9049, allocations: 92.92 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.905, allocations: 6.781 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.905, allocations: 35.31 kB / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.905, allocations: 0 / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0005671/0.9056, allocations: 267.6 kB / 1.379 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.9056, allocations: 57.27 kB / 1.379 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.9071, allocations: 1.033 MB / 1.38 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.9071, allocations: 28 kB / 1.38 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.9073, allocations: 245.9 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.9074, allocations: 64.34 kB / 1.38 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.9074, allocations: 0 / 1.38 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9075, allocations: 313.9 kB / 1.38 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.9078, allocations: 165.1 kB / 1.38 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.9081, allocations: 189.2 kB / 1.381 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/0.909, allocations: 272.8 kB / 1.381 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.909, allocations: 0 / 1.381 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001278/0.9103, allocations: 0.5575 MB / 1.381 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9103, allocations: 8.469 kB / 1.381 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9103, allocations: 0.5625 kB / 1.381 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.9103, allocations: 1.156 kB / 1.381 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.9108, allocations: 88.81 kB / 1.382 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.9108, allocations: 0 / 1.382 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.9113, allocations: 63.56 kB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.9114, allocations: 14.52 kB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.9115, allocations: 106.6 kB / 1.382 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.9116, allocations: 84.09 kB / 1.382 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.9123, allocations: 297.3 kB / 1.382 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.9123, allocations: 2.656 kB / 1.382 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9123, allocations: 0 / 1.382 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.9123, allocations: 1.172 kB / 1.382 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.914, allocations: 1.012 MB / 1.383 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.914, allocations: 1.469 kB / 1.383 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.9144, allocations: 85.97 kB / 1.383 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.9144, allocations: 2.656 kB / 1.383 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.9145, allocations: 9.469 kB / 1.383 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.9145, allocations: 7.172 kB / 1.383 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9145, allocations: 1.938 kB / 1.383 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005119/0.915, allocations: 473.9 kB / 1.384 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.9153, allocations: 234 kB / 1.384 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.9154, allocations: 8.781 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.9158, allocations: 46.03 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.9159, allocations: 19.83 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.9159, allocations: 7.828 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001134/0.9171, allocations: 0.8136 MB / 1.385 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005153/0.9176, allocations: 118.2 kB / 1.385 GB, free: 28.11 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003157/0.9179, allocations: 178.4 kB / 1.385 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004387/0.9184, allocations: 240.8 kB / 1.385 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9184, allocations: 1.344 kB / 1.385 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.9186, allocations: 94.92 kB / 1.385 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.9189, allocations: 55.83 kB / 1.385 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.9212, allocations: 1.067 MB / 1.386 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/0.9221, allocations: 1.059 MB / 1.387 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.9221, allocations: 0 / 1.387 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.01154/0.9337, allocations: 5.138 MB / 1.393 GB, free: 24.12 MB / 0.8386 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 -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","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches