Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,fileNamePrefix="Buildings_11_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.004441/0.004441, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001338/0.001338, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.4/2.4, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 75.77 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6096, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.00635/0.6159, allocations: 5.242 MB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00431/0.6203, allocations: 3.297 MB / 1.229 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.6206, allocations: 31.81 kB / 1.229 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.622, allocations: 0.6799 MB / 1.229 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008234/0.6228, allocations: 494.7 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.6244, allocations: 1.042 MB / 1.231 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002012/0.6265, allocations: 2.306 MB / 1.233 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.628, allocations: 1.44 MB / 1.234 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007571/0.6288, allocations: 0.8212 MB / 1.235 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007737/0.6295, allocations: 0.8515 MB / 1.236 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.6298, allocations: 204 kB / 1.236 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.6302, allocations: 303.9 kB / 1.236 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005308/0.6307, allocations: 0.6699 MB / 1.237 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008377/0.6316, allocations: 1.053 MB / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.6341, allocations: 2.925 MB / 1.241 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.6341, allocations: 0 / 1.241 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.51e-07/0.6341, allocations: 0 / 1.241 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.6341, allocations: 0 / 1.241 GB, free: 12.55 MB / 0.9669 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.003342/0.6375, allocations: 2.648 MB / 1.244 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.6375, allocations: 12.03 kB / 1.244 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.6377, allocations: 198.3 kB / 1.244 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.638, allocations: 263.3 kB / 1.244 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.64, allocations: 1.501 MB / 1.246 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.6402, allocations: 156.8 kB / 1.246 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.6404, allocations: 148 kB / 1.246 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.6425, allocations: 1.506 MB / 1.247 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.6426, allocations: 7.938 kB / 1.247 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6427, allocations: 59.97 kB / 1.247 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.6427, allocations: 36 kB / 1.247 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.6444, allocations: 1.008 MB / 1.248 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006303/0.6507, allocations: 6.266 MB / 1.254 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.6521, allocations: 0.9578 MB / 1.255 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.6528, allocations: 463.9 kB / 1.256 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.6531, allocations: 126.1 kB / 1.256 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009875/0.6541, allocations: 0.6503 MB / 1.257 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=110): time 2.234e-06/0.6541, allocations: 0 / 1.257 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.002219/0.6563, allocations: 1.32 MB / 1.258 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/0.6565, allocations: 371.1 kB / 1.258 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.6588, allocations: 1.998 MB / 1.26 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.6589, allocations: 93.67 kB / 1.26 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007606/0.6596, allocations: 0.9355 MB / 1.261 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.6599, allocations: 281.9 kB / 1.261 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004403/0.6603, allocations: 375.4 kB / 1.262 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6605, allocations: 305.1 kB / 1.262 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.6612, allocations: 443.8 kB / 1.263 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.6623, allocations: 0.869 MB / 1.263 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.6638, allocations: 1.067 MB / 1.264 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.6638, allocations: 4 kB / 1.264 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.002165/0.6659, allocations: 1.468 MB / 1.266 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.666, allocations: 12 kB / 1.266 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.666, allocations: 8 kB / 1.266 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.666, allocations: 20 kB / 1.266 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.6666, allocations: 207.5 kB / 1.266 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/0.6667, allocations: 32.39 kB / 1.266 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.6672, allocations: 163 kB / 1.266 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.6674, allocations: 71.98 kB / 1.266 GB, free: 1.434 MB / 0.9825 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.0007098/0.6681, allocations: 0.6163 MB / 1.267 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.6683, allocations: 198.7 kB / 1.267 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.67, allocations: 1.04 MB / 1.268 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.67, allocations: 12 kB / 1.268 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.6701, allocations: 4 kB / 1.268 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.6701, allocations: 15.91 kB / 1.268 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.6738, allocations: 2.686 MB / 1.271 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6738, allocations: 4 kB / 1.271 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.6741, allocations: 75.77 kB / 1.271 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.6741, allocations: 11.94 kB / 1.271 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.6741, allocations: 31.97 kB / 1.271 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.6742, allocations: 8 kB / 1.271 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6742, allocations: 4 kB / 1.271 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.6758, allocations: 1.212 MB / 1.272 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/0.6763, allocations: 383.5 kB / 1.273 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.6765, allocations: 43.98 kB / 1.273 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.6769, allocations: 47.95 kB / 1.273 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6771, allocations: 160.6 kB / 1.273 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.6772, allocations: 51.97 kB / 1.273 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001583/0.6788, allocations: 1.273 MB / 1.274 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6788, allocations: 0 / 1.274 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000814/0.6796, allocations: 383.1 kB / 1.274 GB, free: 9.016 MB / 0.9981 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.003465/0.6831, allocations: 2.2 MB / 1.277 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.6849, allocations: 1.125 MB / 1.278 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6849, allocations: 0 / 1.278 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008617/0.6857, allocations: 0.5417 MB / 1.278 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.6869, allocations: 328.2 kB / 1.278 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.7047, allocations: 14.09 MB / 1.292 GB, free: 6.254 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.7058, allocations: 1.476 MB / 1.294 GB, free: 4.742 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000664/0.7065, allocations: 309.8 kB / 1.294 GB, free: 4.434 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009935/0.7075, allocations: 0.8156 MB / 1.295 GB, free: 3.617 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.7075, allocations: 0 / 1.295 GB, free: 3.617 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.237/2.944, allocations: 34.3 MB / 1.328 GB, free: 1.605 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/19.5, allocations: 11.78 kB / 1.328 GB, free: 1.598 MB / 1.045 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl_fmu --startTime=0 --stopTime=3000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.43493cc3cc5140c58f57b9c38dca9c12 Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7ff0cdf2e520] /lib/x86_64-linux-gnu/libc.so.6(+0x1a0afe)[0x7ff0ce08cafe] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(omc_matlab4_read_all_vals+0x1bb)[0x7ff0cddf2408] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x4b4bf)[0x7ff0cde804bf] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x48868)[0x7ff0cde7d868] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResultsCmp_compareResults+0x1eb)[0x7ff0cde7c1ce] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResults_diffSimulationResults+0x2b)[0x7ff0cde80b7b] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimulationResults_diffSimulationResults+0x34)[0x7ff0ce7b3533] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions4+0x9cb5)[0x7ff0ceb15bd7] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x4f66)[0x7ff0ceb1c09f] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x4373)[0x7ff0cf0ef8b3] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1fb)[0x7ff0cf0f2460] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendInterface_cevalInteractiveFunctions+0x5d)[0x7ff0cf315fcd] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork2+0x1e82)[0x7ff0cf30987c] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork1+0xb7)[0x7ff0cf30b454] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: 19.801716546993703 19.822082374 19.185352634 OMC died, but the thread is still running? This will end badly.