Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_latest_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.001117/0.001117, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 194.4 kB / 16.53 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.91 kB / 0.8992 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2203, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002945/0.2233, allocations: 2.044 MB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.2243, allocations: 0.6782 MB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.2244, allocations: 0 / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.902e-05/0.2244, allocations: 19.73 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2246, allocations: 39.59 kB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.225, allocations: 130.9 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.2254, allocations: 0.5532 MB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.2257, allocations: 254.2 kB / 1.057 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.226, allocations: 231.2 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.2262, allocations: 246.8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.2263, allocations: 56 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.2264, allocations: 52 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.2265, allocations: 119.7 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.2267, allocations: 242.7 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.2272, allocations: 0.6663 MB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2272, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2272, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.2272, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 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.001883/0.2291, allocations: 0.9858 MB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2292, allocations: 8.625 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.295e-05/0.2293, allocations: 78.7 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.2294, allocations: 52.38 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.2298, allocations: 399.7 kB / 1.06 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.2298, allocations: 29.31 kB / 1.06 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.2299, allocations: 44.3 kB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.231, allocations: 0.6741 MB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.231, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.231, allocations: 15.98 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.2311, allocations: 8 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2322, allocations: 0.5914 MB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.2343, allocations: 1.649 MB / 1.063 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.2359, allocations: 0.8861 MB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/0.2365, allocations: 348.8 kB / 1.064 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.2365, allocations: 11.98 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008061/0.2374, allocations: 0.5253 MB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=51): time 2.274e-06/0.2374, allocations: 0 / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51): time 0.002012/0.2394, allocations: 1.078 MB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.2395, allocations: 284.9 kB / 1.066 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.2399, allocations: 429.5 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.24, allocations: 53.62 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2401, allocations: 204.9 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.2402, allocations: 122.4 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.2404, allocations: 110.2 kB / 1.066 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2405, allocations: 366.7 kB / 1.067 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/0.241, allocations: 298.8 kB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/0.2417, allocations: 481.9 kB / 1.068 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.2429, allocations: 0.7446 MB / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2429, allocations: 0 / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001381/0.2443, allocations: 0.8026 MB / 1.069 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.2443, allocations: 38.25 kB / 1.069 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2443, allocations: 8 kB / 1.069 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2444, allocations: 8 kB / 1.069 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.2447, allocations: 99.77 kB / 1.069 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2447, allocations: 15.94 kB / 1.069 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.2451, allocations: 95.58 kB / 1.069 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.2452, allocations: 28 kB / 1.069 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005055/0.2457, allocations: 397 kB / 1.07 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004592/0.2461, allocations: 394 kB / 1.07 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007784/0.2469, allocations: 0.6007 MB / 1.071 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.2469, allocations: 0 / 1.071 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.000995/0.2479, allocations: 0.6693 MB / 1.071 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.248, allocations: 33.7 kB / 1.071 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.248, allocations: 4 kB / 1.071 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.248, allocations: 11.98 kB / 1.071 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.2482, allocations: 67.83 kB / 1.071 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2482, allocations: 16.33 kB / 1.071 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.2486, allocations: 67.78 kB / 1.072 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.2486, allocations: 24 kB / 1.072 GB, free: 4.426 MB / 0.8262 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.0001742/0.2488, allocations: 268 kB / 1.072 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.2489, allocations: 47.44 kB / 1.072 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.607e-05/0.249, allocations: 59.34 kB / 1.072 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.249, allocations: 4 kB / 1.072 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.249, allocations: 4 kB / 1.072 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.249, allocations: 3.938 kB / 1.072 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.2513, allocations: 1.89 MB / 1.074 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2513, allocations: 4 kB / 1.074 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.2516, allocations: 83.78 kB / 1.074 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2516, allocations: 4 kB / 1.074 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.2517, allocations: 11.98 kB / 1.074 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2517, allocations: 4 kB / 1.074 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.2517, allocations: 3.938 kB / 1.074 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.2531, allocations: 1.236 MB / 1.075 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.2532, allocations: 136.3 kB / 1.075 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.2533, allocations: 23.98 kB / 1.075 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/0.2539, allocations: 99.84 kB / 1.075 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.254, allocations: 51.89 kB / 1.075 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.2541, allocations: 23.98 kB / 1.075 GB, free: 384 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002617/0.2543, allocations: 307.1 kB / 1.076 GB, free: 76 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2543, allocations: 0 / 1.076 GB, free: 76 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000756/0.2551, allocations: 179.8 kB / 1.076 GB, free: 15.89 MB / 0.8419 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.001711/0.2568, allocations: 1.829 MB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.2586, allocations: 1.154 MB / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2587, allocations: 0 / 1.079 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.2593, allocations: 367.9 kB / 1.079 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.2602, allocations: 103.2 kB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/0.2672, allocations: 5.907 MB / 1.085 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.2676, allocations: 0.9094 MB / 1.086 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003713/0.268, allocations: 207.1 kB / 1.086 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.2682, allocations: 143.4 kB / 1.086 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.2682, allocations: 0 / 1.086 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.365/1.633, allocations: 11.07 MB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.88, allocations: 16.44 kB / 1.097 GB, free: 10.08 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.eb1044cf9b2d4a5cb2269df1d3670172 Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f8310ce9520] /lib/x86_64-linux-gnu/libc.so.6(+0x1a0afe)[0x7f8310e47afe] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(omc_matlab4_read_all_vals+0x1bb)[0x7f8310bad408] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x4b4bf)[0x7f8310c3b4bf] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x48868)[0x7f8310c38868] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResultsCmp_compareResults+0x1eb)[0x7f8310c371ce] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResults_diffSimulationResults+0x2b)[0x7f8310c3bb7b] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimulationResults_diffSimulationResults+0x34)[0x7f831156e533] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions4+0x9cb5)[0x7f83118d0bd7] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x4f66)[0x7f83118d709f] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x4373)[0x7f8311eaa8b3] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1fb)[0x7f8311ead460] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendInterface_cevalInteractiveFunctions+0x5d)[0x7f83120d0fcd] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork2+0x1e82)[0x7f83120c487c] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork1+0xb7)[0x7f83120c6454] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: 11.953143577091396 11.969385874 11.739972937 OMC died, but the thread is still running? This will end badly.