Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 173.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 87.8 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 13.56 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2113, allocations: 106.3 MB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.3841, allocations: 140.6 MB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.3844, allocations: 95.94 kB / 1.037 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03807/0.4225, allocations: 14.51 MB / 1.052 GB, free: 4.965 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4226, allocations: 0 / 1.052 GB, free: 4.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.55e-05/0.4226, allocations: 19.94 kB / 1.052 GB, free: 4.945 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001636/0.4243, allocations: 0.917 MB / 1.053 GB, free: 3.969 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4243, allocations: 8.031 kB / 1.053 GB, free: 3.961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.4246, allocations: 94.91 kB / 1.053 GB, free: 3.867 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.4255, allocations: 456 kB / 1.053 GB, free: 3.383 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.624e-05/0.4256, allocations: 83 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.4257, allocations: 56 kB / 1.053 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.4267, allocations: 0.6099 MB / 1.054 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4268, allocations: 8 kB / 1.054 GB, free: 2.555 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.4268, allocations: 20 kB / 1.054 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.4268, allocations: 16 kB / 1.054 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.4275, allocations: 379.5 kB / 1.054 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3859/0.8134, allocations: 2.629 MB / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.8141, allocations: 268 kB / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.8142, allocations: 4.938 kB / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.8146, allocations: 212.1 kB / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.947e-06/0.8147, allocations: 0 / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0009037/0.8156, allocations: 448.7 kB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.8156, allocations: 86.97 kB / 1.058 GB, free: 143.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.8164, allocations: 0.5746 MB / 1.058 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.8165, allocations: 47.64 kB / 1.058 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.8168, allocations: 368.1 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/0.8169, allocations: 95.45 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.817, allocations: 12.84 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8171, allocations: 379.6 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.8174, allocations: 137.9 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.8177, allocations: 340.1 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.818, allocations: 152.8 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.818, allocations: 2.906 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008386/0.8188, allocations: 0.5293 MB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.8189, allocations: 8.75 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8189, allocations: 9.391 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.8189, allocations: 10.44 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.8192, allocations: 74.61 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.8192, allocations: 17.08 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.8195, allocations: 38.89 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.8196, allocations: 29.38 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.warUpCtr.timer.yAcc,warUpCtr.timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,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.entryTime,warUpCtr.timer.entryTime,transition5.enableFire,$PRE.warUpCtr.timer.reset_internal,warUpCtr.timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0003307/0.8199, allocations: 273.5 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.82, allocations: 63 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.8206, allocations: 405.2 kB / 1.061 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8207, allocations: 5.969 kB / 1.061 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8207, allocations: 3.969 kB / 1.061 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.8207, allocations: 3.703 kB / 1.061 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.8222, allocations: 1.05 MB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8222, allocations: 0 / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.8223, allocations: 27.39 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.8224, allocations: 0 / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.8224, allocations: 14.73 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.8224, allocations: 6.266 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8224, allocations: 2.391 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.823, allocations: 477 kB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.8232, allocations: 143.4 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.8233, allocations: 11.38 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.8234, allocations: 13.62 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.8236, allocations: 56.38 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.8236, allocations: 14.53 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005045/0.8241, allocations: 422.4 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8241, allocations: 0 / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006064/0.8248, allocations: 121.8 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,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.entryTime,warUpCtr.timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001134/0.8259, allocations: 484.4 kB / 1.064 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007174/0.8266, allocations: 387.8 kB / 1.064 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8266, allocations: 0 / 1.064 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.8269, allocations: 170.5 kB / 1.064 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.8274, allocations: 86.77 kB / 1.065 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.8295, allocations: 1.277 MB / 1.066 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.8301, allocations: 0.9517 MB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003419/0.8305, allocations: 84.61 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.8306, allocations: 43.31 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.8306, allocations: 0.75 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of Templates: time 0.01709/0.8477, allocations: 5.568 MB / 1.072 GB, free: 139.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches