Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",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.001071/0.001071, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001041/0.001041, allocations: 195.2 kB / 16.25 MB, free: 6.637 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4949, allocations: 140.4 MB / 0.9492 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002522/0.4975, allocations: 2.086 MB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.4983, allocations: 0.6544 MB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.4984, allocations: 2.562 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.262e-05/0.4984, allocations: 11.86 kB / 0.9519 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.4985, allocations: 31.81 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.4989, allocations: 114.3 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.4993, allocations: 0.5535 MB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.4995, allocations: 251.4 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.4997, allocations: 234.9 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.4999, allocations: 236.8 kB / 0.9533 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.5, allocations: 56.34 kB / 0.9534 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.052e-05/0.5001, allocations: 52.56 kB / 0.9534 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.5002, allocations: 131.9 kB / 0.9535 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.5003, allocations: 241.1 kB / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.5007, allocations: 0.6655 MB / 0.9544 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5007, allocations: 0 / 0.9544 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5007, allocations: 0 / 0.9544 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.5008, allocations: 0 / 0.9544 GB, free: 5.359 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001698/0.5025, allocations: 0.9959 MB / 0.9554 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5025, allocations: 11.44 kB / 0.9554 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.769e-05/0.5026, allocations: 70.41 kB / 0.9555 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.5027, allocations: 55.23 kB / 0.9555 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.5031, allocations: 397.4 kB / 0.9559 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.5031, allocations: 35.98 kB / 0.9559 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.5032, allocations: 37.28 kB / 0.956 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.5042, allocations: 0.6757 MB / 0.9566 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5042, allocations: 0 / 0.9566 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.5042, allocations: 13.5 kB / 0.9566 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5043, allocations: 8.25 kB / 0.9567 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.5054, allocations: 0.6003 MB / 0.9572 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.5076, allocations: 1.641 MB / 0.9588 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5093, allocations: 0.8882 MB / 0.9597 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.5099, allocations: 353 kB / 0.96 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.51, allocations: 15.42 kB / 0.9601 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008384/0.5108, allocations: 0.5229 MB / 0.9606 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=51): time 1.853e-06/0.5108, allocations: 1.5 kB / 0.9606 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=51): time 0.001985/0.5128, allocations: 1.071 MB / 0.9616 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.5129, allocations: 294.5 kB / 0.9619 GB, free: 192 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.5133, allocations: 433.1 kB / 0.9623 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.5134, allocations: 49.78 kB / 0.9624 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.5135, allocations: 196.1 kB / 0.9625 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.5136, allocations: 136.5 kB / 0.9627 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.5138, allocations: 107.5 kB / 0.9628 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.514, allocations: 365.5 kB / 0.9631 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.5146, allocations: 297.8 kB / 0.9634 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.5154, allocations: 480.8 kB / 0.9639 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.5166, allocations: 0.7358 MB / 0.9646 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5166, allocations: 0.8438 kB / 0.9646 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001488/0.5181, allocations: 0.8029 MB / 0.9654 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.5182, allocations: 41.3 kB / 0.9654 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.5182, allocations: 4.5 kB / 0.9654 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5182, allocations: 8.656 kB / 0.9654 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.5186, allocations: 104.3 kB / 0.9655 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.5186, allocations: 10.48 kB / 0.9655 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.519, allocations: 89.66 kB / 0.9656 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.5191, allocations: 29.73 kB / 0.9656 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005336/0.5196, allocations: 391.2 kB / 0.966 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004949/0.5201, allocations: 409.2 kB / 0.9664 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008269/0.5209, allocations: 0.605 MB / 0.967 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.521, allocations: 1.094 kB / 0.967 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001068/0.522, allocations: 0.6574 MB / 0.9676 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5221, allocations: 33.27 kB / 0.9677 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5221, allocations: 5.312 kB / 0.9677 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.5221, allocations: 7.5 kB / 0.9677 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.5224, allocations: 71.91 kB / 0.9678 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.5224, allocations: 8.438 kB / 0.9678 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.5228, allocations: 85.2 kB / 0.9678 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.5228, allocations: 21.16 kB / 0.9679 GB, free: 12.14 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 (triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].sam.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition9,triAndRes[1].uniDel1.sampleTrigger,$whenCondition10,triAndRes[1].firstTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].sam.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition5,triAndRes[2].uniDel1.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].sam.y,triAndRes[2].incY.y,triAndRes[2].firstTrigger,$PRE.triAndRes[2].firstTrigger,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].sam.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition2,triAndRes[3].uniDel1.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].sam.y,triAndRes[3].incY.y,triAndRes[3].firstTrigger,$PRE.triAndRes[3].firstTrigger,triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[1].uniDel1.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].sam.y,triAndRes[1].incY.y,act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002083/0.523, allocations: 265.2 kB / 0.9681 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.5231, allocations: 43.44 kB / 0.9682 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.5232, allocations: 60.11 kB / 0.9682 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.5232, allocations: 6.531 kB / 0.9682 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5233, allocations: 1.125 kB / 0.9682 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.5233, allocations: 6.141 kB / 0.9682 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.5261, allocations: 1.898 MB / 0.9701 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5261, allocations: 1.406 kB / 0.9701 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.5264, allocations: 86.16 kB / 0.9702 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.5264, allocations: 3.5 kB / 0.9702 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.5264, allocations: 13.2 kB / 0.9702 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5264, allocations: 6.875 kB / 0.9702 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5265, allocations: 5.875 kB / 0.9702 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.5281, allocations: 1.231 MB / 0.9714 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.5282, allocations: 134.6 kB / 0.9715 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.5283, allocations: 14.38 kB / 0.9715 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.5289, allocations: 99.28 kB / 0.9716 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.5291, allocations: 48.84 kB / 0.9717 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.5291, allocations: 26.11 kB / 0.9717 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002939/0.5294, allocations: 305.2 kB / 0.972 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5294, allocations: 0 / 0.972 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008456/0.5303, allocations: 187.6 kB / 0.9722 GB, free: 9.148 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.001903/0.5322, allocations: 1.824 MB / 0.974 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00195/0.5341, allocations: 1.151 MB / 0.9751 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5342, allocations: 0 / 0.9751 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.5349, allocations: 379.8 kB / 0.9754 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/0.5358, allocations: 107.1 kB / 0.9755 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007947/0.5438, allocations: 6.032 MB / 0.9814 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.5443, allocations: 0.9134 MB / 0.9823 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004179/0.5447, allocations: 195.1 kB / 0.9825 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.5449, allocations: 143.4 kB / 0.9827 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/0.5449, allocations: 3.938 kB / 0.9827 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4892/1.034, allocations: 10.89 MB / 0.9933 GB, free: 4 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/1.034, allocations: 242.8 kB / 0.9935 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.831, allocations: 0 / 0.9935 GB, free: 3.738 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond.fmu > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.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.c3f22ccd998245d381948fb92a96c98a Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f14e69fc520] /lib/x86_64-linux-gnu/libc.so.6(+0x1a0afe)[0x7f14e6b5aafe] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(omc_matlab4_read_all_vals+0x1bb)[0x7f14e68c0408] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x4b4bf)[0x7f14e694e4bf] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x48868)[0x7f14e694b868] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResultsCmp_compareResults+0x1eb)[0x7f14e694a1ce] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResults_diffSimulationResults+0x2b)[0x7f14e694eb7b] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimulationResults_diffSimulationResults+0x34)[0x7f14e7281533] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions4+0x9cb5)[0x7f14e75e3bd7] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x4f66)[0x7f14e75ea09f] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x4373)[0x7f14e7bbd8b3] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1fb)[0x7f14e7bc0460] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendInterface_cevalInteractiveFunctions+0x5d)[0x7f14e7de3fcd] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork2+0x1e82)[0x7f14e7dd787c] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork1+0xb7)[0x7f14e7dd9454] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: 2.9046873599290848 2.926661021 2.422723805 OMC died, but the thread is still running? This will end badly.