Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9959/0.9959, allocations: 177.1 MB / 204.6 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.91/1.91, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.701e-05, allocations: 7.25 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004031/0.004058, allocations: 2.682 MB / 0.8142 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.00563, allocations: 1.066 MB / 0.8152 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.005792, allocations: 4 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.006435, allocations: 204.3 kB / 0.8154 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.006608, allocations: 86.66 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.007087, allocations: 188.8 kB / 0.8157 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.007495, allocations: 418.9 kB / 0.8161 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.007775, allocations: 143.1 kB / 0.8162 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.008002, allocations: 231.4 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.008161, allocations: 132.7 kB / 0.8165 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.008216, allocations: 40 kB / 0.8166 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.008514, allocations: 161.2 kB / 0.8167 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.008723, allocations: 267.2 kB / 0.817 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.008908, allocations: 195.3 kB / 0.8172 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.009596, allocations: 0.6068 MB / 0.8178 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.009598, allocations: 0.7188 kB / 0.8178 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.009599, allocations: 0 / 0.8178 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.009607, allocations: 1.031 kB / 0.8178 GB, free: 11.68 MB / 0.7761 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.001538/0.01115, allocations: 1.199 MB / 0.8189 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.01119, allocations: 8.031 kB / 0.819 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005941/0.01178, allocations: 245.8 kB / 0.8192 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.0124, allocations: 0.5482 MB / 0.8197 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.01242, allocations: 24.97 kB / 0.8197 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.01245, allocations: 32.38 kB / 0.8198 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.01283, allocations: 283.2 kB / 0.82 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.01284, allocations: 0.75 kB / 0.82 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.01286, allocations: 12.38 kB / 0.8201 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.01288, allocations: 12.69 kB / 0.8201 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.0131, allocations: 149.8 kB / 0.8202 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.01469, allocations: 1.281 MB / 0.8215 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.01496, allocations: 139.6 kB / 0.8216 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.01503, allocations: 49.89 kB / 0.8216 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.01506, allocations: 11.98 kB / 0.8217 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.01508, allocations: 37.39 kB / 0.8217 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.01508, allocations: 4 kB / 0.8217 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.000364/0.01545, allocations: 237 kB / 0.8219 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.01547, allocations: 51.41 kB / 0.822 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/0.01622, allocations: 0.962 MB / 0.8229 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.01624, allocations: 33.7 kB / 0.8229 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.01651, allocations: 0.499 MB / 0.8234 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.01655, allocations: 75.72 kB / 0.8235 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.01662, allocations: 59.31 kB / 0.8236 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01672, allocations: 0.4925 MB / 0.824 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.0168, allocations: 39.97 kB / 0.8241 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.01692, allocations: 143.4 kB / 0.8242 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.0171, allocations: 156.4 kB / 0.8244 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.0171, allocations: 0 / 0.8244 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002918/0.01739, allocations: 267.8 kB / 0.8246 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01741, allocations: 12 kB / 0.8246 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01741, allocations: 0 / 0.8246 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01742, allocations: 4 kB / 0.8246 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.01757, allocations: 51.91 kB / 0.8247 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.01758, allocations: 0 / 0.8247 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01769, allocations: 35.78 kB / 0.8247 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.0177, allocations: 19.97 kB / 0.8247 GB, free: 4.277 MB / 0.7761 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.0001149/0.01782, allocations: 172.5 kB / 0.8249 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.01788, allocations: 87.44 kB / 0.825 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.01817, allocations: 219.8 kB / 0.8252 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01818, allocations: 0 / 0.8252 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01818, allocations: 4 kB / 0.8252 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01819, allocations: 3.938 kB / 0.8252 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/0.01909, allocations: 0.8694 MB / 0.8261 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01909, allocations: 0 / 0.8261 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.0192, allocations: 43.91 kB / 0.8261 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01921, allocations: 4.125 kB / 0.8261 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01922, allocations: 12 kB / 0.8261 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.01923, allocations: 4 kB / 0.8261 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.01923, allocations: 0 / 0.8261 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.01952, allocations: 417.5 kB / 0.8265 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.01965, allocations: 127.3 kB / 0.8266 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.01969, allocations: 4 kB / 0.8266 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.0198, allocations: 15.98 kB / 0.8267 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.01985, allocations: 19.97 kB / 0.8267 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01986, allocations: 4 kB / 0.8267 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004719/0.02033, allocations: 0.6013 MB / 0.8273 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02033, allocations: 0 / 0.8273 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002678/0.0206, allocations: 107.8 kB / 0.8274 GB, free: 1.441 MB / 0.7761 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.0001531/0.02075, allocations: 119.1 kB / 0.8275 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.02099, allocations: 139.5 kB / 0.8276 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.02099, allocations: 4 kB / 0.8276 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.02108, allocations: 59.53 kB / 0.8277 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.02139, allocations: 77.2 kB / 0.8277 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.02277, allocations: 1.229 MB / 0.8289 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.02289, allocations: 189.2 kB / 0.8291 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.02306, allocations: 84.53 kB / 0.8292 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.994e-05/0.02315, allocations: 44.48 kB / 0.8292 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of SimCode: time 5.11e-07/0.02315, allocations: 0 / 0.8292 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of Templates: time 0.009643/0.03279, allocations: 5.559 MB / 0.8347 GB, free: 9.898 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.20846530306153]