Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001136/0.001136, allocations: 184.9 kB / 487.4 MB, free: 5.016 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.6/1.6, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 91.95 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.143e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2409, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.87/1.111, allocations: 157.6 MB / 1.36 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.111, allocations: 85.17 kB / 1.36 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0325/1.144, allocations: 14.41 MB / 1.374 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/1.144, allocations: 0 / 1.374 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.845e-05/1.144, allocations: 15.38 kB / 1.374 GB, free: 32.39 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001019/1.145, allocations: 0.8501 MB / 1.375 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.145, allocations: 11.5 kB / 1.375 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/1.145, allocations: 87.92 kB / 1.375 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/1.146, allocations: 447.9 kB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/1.146, allocations: 50.2 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/1.146, allocations: 40.33 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004627/1.146, allocations: 312.9 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/1.147, allocations: 0.5373 MB / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/1.147, allocations: 7.781 kB / 1.376 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/1.147, allocations: 10.67 kB / 1.376 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.147, allocations: 11.75 kB / 1.376 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/1.149, allocations: 2.568 MB / 1.379 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/1.15, allocations: 332.4 kB / 1.379 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/1.15, allocations: 156.4 kB / 1.379 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/1.15, allocations: 7.938 kB / 1.379 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/1.15, allocations: 270.5 kB / 1.38 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/1.15, allocations: 0 / 1.38 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0004828/1.151, allocations: 352.4 kB / 1.38 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/1.151, allocations: 228.7 kB / 1.38 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/1.151, allocations: 0.5181 MB / 1.381 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/1.151, allocations: 44.69 kB / 1.381 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/1.151, allocations: 346.6 kB / 1.381 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/1.151, allocations: 95.25 kB / 1.381 GB, free: 28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/1.151, allocations: 7.719 kB / 1.381 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.152, allocations: 381.1 kB / 1.382 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/1.152, allocations: 125.3 kB / 1.382 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/1.152, allocations: 309.6 kB / 1.382 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/1.152, allocations: 141.9 kB / 1.382 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.152, allocations: 3.844 kB / 1.382 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005386/1.153, allocations: 474.6 kB / 1.383 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.153, allocations: 7.781 kB / 1.383 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.153, allocations: 7.859 kB / 1.383 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.153, allocations: 12.09 kB / 1.383 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/1.153, allocations: 77.02 kB / 1.383 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.153, allocations: 15.66 kB / 1.383 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/1.153, allocations: 27.14 kB / 1.383 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/1.153, allocations: 26.34 kB / 1.383 GB, free: 27.18 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001306/1.153, allocations: 150.6 kB / 1.383 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003997/1.154, allocations: 359.7 kB / 1.383 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/1.154, allocations: 70.02 kB / 1.383 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/1.154, allocations: 374.4 kB / 1.384 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.154, allocations: 7.688 kB / 1.384 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.154, allocations: 0 / 1.384 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.154, allocations: 7.859 kB / 1.384 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/1.156, allocations: 0.9694 MB / 1.385 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.156, allocations: 3.875 kB / 1.385 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.156, allocations: 26.77 kB / 1.385 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.156, allocations: 3.875 kB / 1.385 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1.156, allocations: 7.828 kB / 1.385 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.156, allocations: 3.875 kB / 1.385 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.156, allocations: 7.688 kB / 1.385 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/1.156, allocations: 0.5588 MB / 1.385 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/1.156, allocations: 150.5 kB / 1.385 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/1.156, allocations: 11.14 kB / 1.385 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/1.157, allocations: 11.7 kB / 1.385 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/1.157, allocations: 53.83 kB / 1.385 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/1.157, allocations: 25.38 kB / 1.385 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003106/1.157, allocations: 366.3 kB / 1.386 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.157, allocations: 0 / 1.386 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004405/1.158, allocations: 111.6 kB / 1.386 GB, free: 25.63 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001706/1.159, allocations: 1.754 MB / 1.388 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004835/1.16, allocations: 371.4 kB / 1.388 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.16, allocations: 0 / 1.388 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/1.16, allocations: 181.5 kB / 1.388 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/1.16, allocations: 81.98 kB / 1.388 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/1.162, allocations: 0.9412 MB / 1.389 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/1.162, allocations: 0.9517 MB / 1.39 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002037/1.163, allocations: 78.86 kB / 1.39 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/1.163, allocations: 237.7 kB / 1.39 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.163, allocations: 4 kB / 1.39 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/1.192, allocations: 11.36 MB / 1.401 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/1.192, allocations: 178.1 kB / 1.402 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/3.326, allocations: 0 / 1.402 GB, free: 17.15 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat does not exist to compare? outputFormat=mat