Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005664/0.005669, allocations: 95.7 kB / 15.73 MB, free: 6.484 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.001663/0.001663, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.504/2.504, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 71.83 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2549, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.006094/0.261, allocations: 5.233 MB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.2652, allocations: 3.297 MB / 1.25 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.2655, allocations: 27.88 kB / 1.25 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.2669, allocations: 0.6838 MB / 1.251 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007772/0.2676, allocations: 489.1 kB / 1.251 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4527/0.7203, allocations: 1.032 MB / 1.252 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.723, allocations: 2.304 MB / 1.255 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.725, allocations: 1.44 MB / 1.256 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.7261, allocations: 0.8205 MB / 1.257 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.7271, allocations: 0.8549 MB / 1.258 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004322/0.7276, allocations: 201.8 kB / 1.258 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/0.7282, allocations: 308.1 kB / 1.258 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000495/0.7287, allocations: 0.6758 MB / 1.259 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007975/0.7295, allocations: 1.043 MB / 1.26 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.7319, allocations: 2.919 MB / 1.263 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7319, allocations: 0 / 1.263 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7319, allocations: 1.094 kB / 1.263 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.417e-05/0.7319, allocations: 0 / 1.263 GB, free: 4.582 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003007/0.735, allocations: 2.651 MB / 1.265 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.735, allocations: 13.19 kB / 1.265 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.7352, allocations: 197 kB / 1.265 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.7355, allocations: 266.3 kB / 1.266 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.7371, allocations: 1.495 MB / 1.267 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.7372, allocations: 156.3 kB / 1.267 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.7373, allocations: 153 kB / 1.267 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.7392, allocations: 1.493 MB / 1.269 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.7392, allocations: 6.125 kB / 1.269 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/0.7393, allocations: 60.91 kB / 1.269 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.7393, allocations: 33.19 kB / 1.269 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.7408, allocations: 1.021 MB / 1.27 GB, free: 392 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.7471, allocations: 6.291 MB / 1.276 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.7485, allocations: 0.9478 MB / 1.277 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.7491, allocations: 465.1 kB / 1.278 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.7494, allocations: 129.6 kB / 1.278 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.7504, allocations: 0.6555 MB / 1.278 GB, free: 11.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 4.449e-06/0.7504, allocations: 4 kB / 1.278 GB, free: 11.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.002361/0.7528, allocations: 1.31 MB / 1.28 GB, free: 10.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/0.753, allocations: 375 kB / 1.28 GB, free: 10.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.7552, allocations: 1.997 MB / 1.282 GB, free: 9.355 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.7554, allocations: 95.03 kB / 1.282 GB, free: 9.285 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007486/0.7561, allocations: 0.9215 MB / 1.283 GB, free: 8.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.7564, allocations: 292.5 kB / 1.283 GB, free: 8.375 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.7568, allocations: 375.2 kB / 1.284 GB, free: 8.215 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7569, allocations: 309.8 kB / 1.284 GB, free: 7.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/0.7577, allocations: 443.2 kB / 1.284 GB, free: 7.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.7588, allocations: 0.8699 MB / 1.285 GB, free: 7.066 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.7602, allocations: 1.065 MB / 1.286 GB, free: 6.328 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.7602, allocations: 2.562 kB / 1.286 GB, free: 6.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.002139/0.7624, allocations: 1.471 MB / 1.288 GB, free: 5.777 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7624, allocations: 10.12 kB / 1.288 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.7624, allocations: 15.31 kB / 1.288 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.7624, allocations: 23 kB / 1.288 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.763, allocations: 210.5 kB / 1.288 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.7631, allocations: 26.17 kB / 1.288 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.7637, allocations: 149.4 kB / 1.288 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.7638, allocations: 71.44 kB / 1.288 GB, free: 5.652 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 142 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition8,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.PEle.tab.nextTimeEvent,$whenCondition1,con.warUpCtr.pre.u,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysTem.y,con.transition3.t_start,$PRE.con.transition3.t_start,con.transition5.t_start,$PRE.con.transition5.t_start,con.transition9.t_start,$PRE.con.transition9.t_start,con.transition7.t_start,$PRE.con.transition7.t_start,con.transition10.t_start,$PRE.con.transition10.t_start,con.transition1.t_start,$PRE.con.transition1.t_start,con.transition2.t_start,$PRE.con.transition2.t_start,con.transition8.t_start,$PRE.con.transition8.t_start,con.transition6.t_start,$PRE.con.transition6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,PEle.tab.nextTimeEventScaled,$PRE.PEle.tab.nextTimeEventScaled,PEle.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.fire,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,$PRE.con.warUpCtr.pre.u,con.warUpCtr.y,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition2.localCondition,con.transition1.enableFire,con.transition1.localCondition,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,stateGraphRoot.activeSteps,conWat.offStaBy.y,conWat.opeMod,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 206 * 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.00071/0.7645, allocations: 0.6169 MB / 1.289 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.7647, allocations: 203.7 kB / 1.289 GB, free: 5.199 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.7664, allocations: 1.049 MB / 1.29 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.7664, allocations: 14.62 kB / 1.29 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7665, allocations: 3.125 kB / 1.29 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.7665, allocations: 8.078 kB / 1.29 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.7702, allocations: 2.677 MB / 1.293 GB, free: 3.578 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.7702, allocations: 10.56 kB / 1.293 GB, free: 3.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.7704, allocations: 71.08 kB / 1.293 GB, free: 3.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.7704, allocations: 6.938 kB / 1.293 GB, free: 3.566 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.7705, allocations: 34.12 kB / 1.293 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/0.7705, allocations: 9.719 kB / 1.293 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7705, allocations: 5.938 kB / 1.293 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.7722, allocations: 1.213 MB / 1.294 GB, free: 2.934 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.7726, allocations: 392.8 kB / 1.294 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.7728, allocations: 42.03 kB / 1.294 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.7732, allocations: 48.34 kB / 1.294 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/0.7735, allocations: 150.8 kB / 1.294 GB, free: 2.574 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/0.7736, allocations: 49.44 kB / 1.294 GB, free: 2.566 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00151/0.7751, allocations: 1.281 MB / 1.296 GB, free: 2.078 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.52e-07/0.7751, allocations: 0 / 1.296 GB, free: 2.078 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008713/0.776, allocations: 380.8 kB / 1.296 GB, free: 1.98 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 98 (con.transition6.t_start,con.transition8.t_start,con.transition2.t_start,con.transition1.t_start,con.transition10.t_start,con.transition7.t_start,con.transition9.t_start,con.transition5.t_start,con.transition3.t_start,con.transition4.enableFire,con.staBy.localActive,con.pumOn.localActive,con.warUp.active,con.cooDow.localActive,con.cooDow.active,con.nor.localActive,con.plaOff.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,conWat.opeMod,conWat.offStaBy.y,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,con.staBy.active,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.pumOn.active,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.localCondition,con.transition7.enableFire,con.transition10.localCondition,con.transition10.enableFire,con.assWatMas.nand.y,con.assWatMas.hys.y,con.transition1.localCondition,con.transition1.enableFire,con.transition2.localCondition,con.transition2.enableFire,con.nor.active,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.y,con.warUpCtr.hysTem.y,con.warUpCtr.hysPow.y,con.warUpCtr.pre.u,con.transition6.localCondition,con.transition6.enableFire,con.plaOff.active,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.localCondition,con.transition4.fire,con.transition4.t_start,con.timer.passed,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,PEle.tab.nextTimeEvent,PEle.tab.nextTimeEventScaled) * Number of discrete states: 29 (mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,PEle.tab.nextTimeEvent,PEle.tab.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.plaOff.newActive,con.warUpCtr.pre.u,con.warUpCtr.hysPow.y,con.warUpCtr.hysTem.y,con.nor.newActive,con.cooDow.newActive,con.timer.entryTime,con.warUp.newActive,con.pumOn.newActive,con.staBy.newActive,mWat_flow.tab.nextTimeEventScaled,con.hys.y,con.assWatMas.hys.y,con.transition3.t_start,con.transition5.t_start,con.transition9.t_start,con.transition7.t_start,con.transition10.t_start,con.transition1.t_start,con.transition2.t_start,con.transition8.t_start,con.transition6.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * 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.003373/0.7794, allocations: 2.197 MB / 1.298 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.7811, allocations: 1.121 MB / 1.299 GB, free: 364 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7811, allocations: 1.969 kB / 1.299 GB, free: 364 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008383/0.782, allocations: 0.5532 MB / 1.3 GB, free: 164 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.7832, allocations: 323.7 kB / 1.3 GB, free: 28 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/0.801, allocations: 14.1 MB / 1.314 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.8022, allocations: 1.484 MB / 1.315 GB, free: 8.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007502/0.8029, allocations: 298.7 kB / 1.316 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.8039, allocations: 0.8226 MB / 1.317 GB, free: 7.715 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.8039, allocations: 0 / 1.317 GB, free: 7.715 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.498/3.302, allocations: 34.31 MB / 1.35 GB, free: 6.348 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.62/31.92, allocations: 11.59 kB / 1.35 GB, free: 6.34 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl_fmu --startTime=0 --stopTime=3000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Thread is still alive. OMC died, but the thread is still running? This will end badly. The log-file of omc: Created ZeroMQ Server. Dumped server port in file: /tmp/openmodelica.hudson.port.7925fe082b9d4fd4876baf57c4b58037 Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f83d6bef520] /lib/x86_64-linux-gnu/libc.so.6(+0x1a0afe)[0x7f83d6d4dafe] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(omc_matlab4_read_all_vals+0x1bb)[0x7f83d6ab3408] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x4b4bf)[0x7f83d6b414bf] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x48868)[0x7f83d6b3e868] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResultsCmp_compareResults+0x1eb)[0x7f83d6b3d1ce] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResults_diffSimulationResults+0x2b)[0x7f83d6b41b7b] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimulationResults_diffSimulationResults+0x34)[0x7f83d7474533] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions4+0x9cb5)[0x7f83d77d6bd7] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x4f66)[0x7f83d77dd09f] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x4373)[0x7f83d7db08b3] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1fb)[0x7f83d7db3460] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendInterface_cevalInteractiveFunctions+0x5d)[0x7f83d7fd6fcd] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork2+0x1e82)[0x7f83d7fca87c] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork1+0xb7)[0x7f83d7fcc454] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: 32.104902732011396 32.136921404 31.400207047 OMC died, but the thread is still running? This will end badly.