Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,fileNamePrefix="Buildings_10_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.00617/0.00617, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001711/0.001711, allocations: 202 kB / 16.68 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.332/2.332, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 67.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2328, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.006184/0.239, allocations: 5.234 MB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.2433, allocations: 3.297 MB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.2437, allocations: 27.88 kB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.245, allocations: 0.6957 MB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.2458, allocations: 489 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.2474, allocations: 1.044 MB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.2494, allocations: 2.31 MB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.2508, allocations: 1.42 MB / 1.18 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000735/0.2516, allocations: 0.8251 MB / 1.181 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.2523, allocations: 0.8515 MB / 1.182 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.2526, allocations: 204 kB / 1.182 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.253, allocations: 307.8 kB / 1.183 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005133/0.2535, allocations: 0.666 MB / 1.183 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000813/0.2543, allocations: 1.045 MB / 1.184 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.2568, allocations: 2.925 MB / 1.187 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2568, allocations: 4 kB / 1.187 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.958e-06/0.2568, allocations: 4 kB / 1.187 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.2569, allocations: 3.938 kB / 1.187 GB, free: 1.816 MB / 0.9356 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.003324/0.2602, allocations: 2.644 MB / 1.19 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2602, allocations: 12.03 kB / 1.19 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/0.2604, allocations: 198.3 kB / 1.19 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.2608, allocations: 267.3 kB / 1.19 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.2627, allocations: 1.501 MB / 1.192 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.2629, allocations: 152.8 kB / 1.192 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.263, allocations: 155.9 kB / 1.192 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.2652, allocations: 1.498 MB / 1.193 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.2652, allocations: 4 kB / 1.193 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.2653, allocations: 59.91 kB / 1.193 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.2654, allocations: 40 kB / 1.193 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.2671, allocations: 1.012 MB / 1.194 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.2733, allocations: 6.277 MB / 1.201 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.2747, allocations: 0.9424 MB / 1.201 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/0.2754, allocations: 468.4 kB / 1.202 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.2756, allocations: 123.6 kB / 1.202 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009703/0.2766, allocations: 0.6605 MB / 1.203 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 2.304e-06/0.2766, allocations: 0 / 1.203 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110): time 0.002186/0.2788, allocations: 1.312 MB / 1.204 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001945/0.279, allocations: 371.3 kB / 1.204 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.2813, allocations: 1.998 MB / 1.206 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.2814, allocations: 89.69 kB / 1.206 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007487/0.2821, allocations: 0.9312 MB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.2824, allocations: 293.8 kB / 1.208 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004337/0.2828, allocations: 371.4 kB / 1.208 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2829, allocations: 309.1 kB / 1.208 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007731/0.2837, allocations: 447.8 kB / 1.209 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.2848, allocations: 0.8651 MB / 1.209 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.2863, allocations: 1.06 MB / 1.21 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.2863, allocations: 4 kB / 1.21 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.002203/0.2885, allocations: 1.469 MB / 1.212 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2885, allocations: 17.91 kB / 1.212 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.2886, allocations: 8 kB / 1.212 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.2886, allocations: 20 kB / 1.212 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.2892, allocations: 211.5 kB / 1.212 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/0.2892, allocations: 31.86 kB / 1.212 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.2898, allocations: 151 kB / 1.212 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.2899, allocations: 75.98 kB / 1.212 GB, free: 6.699 MB / 0.9669 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.0007071/0.2906, allocations: 0.6128 MB / 1.213 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.2909, allocations: 198.7 kB / 1.213 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.2926, allocations: 1.048 MB / 1.214 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2926, allocations: 12 kB / 1.214 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2926, allocations: 4 kB / 1.214 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.2926, allocations: 15.91 kB / 1.214 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.2962, allocations: 2.678 MB / 1.217 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2962, allocations: 4 kB / 1.217 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.2964, allocations: 79.7 kB / 1.217 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.2965, allocations: 8 kB / 1.217 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.2965, allocations: 31.97 kB / 1.217 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.2965, allocations: 4 kB / 1.217 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2965, allocations: 4 kB / 1.217 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.2982, allocations: 1.22 MB / 1.218 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.2987, allocations: 387.4 kB / 1.219 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.2988, allocations: 43.98 kB / 1.219 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.2992, allocations: 43.95 kB / 1.219 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.2995, allocations: 160.7 kB / 1.219 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-05/0.2996, allocations: 48.05 kB / 1.219 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001509/0.3011, allocations: 1.277 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3011, allocations: 0 / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008139/0.302, allocations: 379.2 kB / 1.22 GB, free: 14.28 MB / 0.9825 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.003389/0.3054, allocations: 2.208 MB / 1.223 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.3071, allocations: 1.125 MB / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3071, allocations: 448 / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008527/0.3079, allocations: 0.5483 MB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3091, allocations: 329.8 kB / 1.225 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.3269, allocations: 14.09 MB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.3281, allocations: 1.478 MB / 1.24 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006607/0.3288, allocations: 301.8 kB / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.3298, allocations: 0.8272 MB / 1.241 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.3298, allocations: 0 / 1.241 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.654/2.984, allocations: 34.29 MB / 1.274 GB, free: 75.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.92/23.91, allocations: 14.58 kB / 1.274 GB, free: 75.88 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl_fmu --startTime=0 --stopTime=3000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WaterFlowControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.c160e948481d4006a1f61e7a7a01b40c Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f12eb5e9520] /lib/x86_64-linux-gnu/libc.so.6(+0x1a0afe)[0x7f12eb747afe] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(omc_matlab4_read_all_vals+0x1bb)[0x7f12eb4ad408] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x4b4bf)[0x7f12eb53b4bf] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x48868)[0x7f12eb538868] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResultsCmp_compareResults+0x1eb)[0x7f12eb5371ce] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResults_diffSimulationResults+0x2b)[0x7f12eb53bb7b] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimulationResults_diffSimulationResults+0x34)[0x7f12ebe6e533] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions4+0x9cb5)[0x7f12ec1d0bd7] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x4f66)[0x7f12ec1d709f] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x4373)[0x7f12ec7aa8b3] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1fb)[0x7f12ec7ad460] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendInterface_cevalInteractiveFunctions+0x5d)[0x7f12ec9d0fcd] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork2+0x1e82)[0x7f12ec9c487c] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork1+0xb7)[0x7f12ec9c6454] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: 24.035008899169043 24.051285332 23.792376165 OMC died, but the thread is still running? This will end badly.