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.00105/0.00105, 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.0009941/0.0009941, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.406/2.406, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 72.69 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2209, allocations: 157.4 MB / 1.052 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002904/0.2239, allocations: 2.114 MB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.2249, allocations: 0.6622 MB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.225, allocations: 4 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.309e-05/0.2251, allocations: 11.86 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2252, allocations: 27.72 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.2255, allocations: 111.9 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.226, allocations: 0.5572 MB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.2263, allocations: 250.2 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.2266, allocations: 235.2 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.2268, allocations: 238.9 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.2269, allocations: 56 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.177e-05/0.227, allocations: 52 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2271, allocations: 127.6 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.2273, allocations: 242.7 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.2278, allocations: 0.6624 MB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2278, allocations: 0 / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2278, allocations: 0 / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2278, allocations: 4 kB / 1.058 GB, free: 3.246 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.001872/0.2297, allocations: 0.9858 MB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2298, allocations: 8.625 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.945e-05/0.2298, allocations: 74.72 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.65e-05/0.2299, allocations: 56.36 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.2304, allocations: 407.6 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.2304, allocations: 33.36 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.2305, allocations: 36.38 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.2316, allocations: 0.6702 MB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2316, allocations: 0 / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.2316, allocations: 16 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2316, allocations: 12 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.2328, allocations: 0.5914 MB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.2349, allocations: 1.645 MB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.2366, allocations: 0.8861 MB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.2371, allocations: 348.8 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.2372, allocations: 15.97 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008399/0.238, allocations: 0.5292 MB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=51): time 4.088e-06/0.2381, allocations: 0 / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51): time 0.002/0.2401, allocations: 1.077 MB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.2402, allocations: 289 kB / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.2406, allocations: 429.5 kB / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.2406, allocations: 53.69 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.2408, allocations: 196.9 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.717e-05/0.2409, allocations: 130.4 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.241, allocations: 110.2 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2412, allocations: 366.7 kB / 1.066 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.2417, allocations: 298.8 kB / 1.067 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.2424, allocations: 477.8 kB / 1.067 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2436, allocations: 0.7334 MB / 1.068 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2436, allocations: 0 / 1.068 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001445/0.245, allocations: 0.8133 MB / 1.069 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.2451, allocations: 33.7 kB / 1.069 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.2451, allocations: 4 kB / 1.069 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2451, allocations: 8.406 kB / 1.069 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.2454, allocations: 107.8 kB / 1.069 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2455, allocations: 11.94 kB / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.2459, allocations: 99.58 kB / 1.069 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.2459, allocations: 20 kB / 1.069 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005108/0.2464, allocations: 401 kB / 1.069 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004575/0.2469, allocations: 402 kB / 1.07 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007768/0.2477, allocations: 0.5968 MB / 1.07 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.2477, allocations: 4 kB / 1.07 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001031/0.2487, allocations: 0.6546 MB / 1.071 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2488, allocations: 33.7 kB / 1.071 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2488, allocations: 4 kB / 1.071 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.2488, allocations: 8 kB / 1.071 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.249, allocations: 71.81 kB / 1.071 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2491, allocations: 11.94 kB / 1.071 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.2494, allocations: 75.95 kB / 1.071 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2494, allocations: 20 kB / 1.071 GB, free: 4.75 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.0001861/0.2496, allocations: 268.6 kB / 1.071 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.2497, allocations: 47.44 kB / 1.071 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.2498, allocations: 59.36 kB / 1.071 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2498, allocations: 8 kB / 1.071 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2498, allocations: 3.938 kB / 1.071 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2498, allocations: 7.984 kB / 1.071 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.2522, allocations: 1.887 MB / 1.073 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2522, allocations: 0 / 1.073 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.2525, allocations: 87.92 kB / 1.073 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2525, allocations: 4 kB / 1.073 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.2526, allocations: 15.97 kB / 1.073 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2526, allocations: 4.234 kB / 1.073 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2526, allocations: 7.938 kB / 1.073 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.254, allocations: 1.227 MB / 1.075 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.2541, allocations: 140.4 kB / 1.075 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.2542, allocations: 19.98 kB / 1.075 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.2548, allocations: 99.84 kB / 1.075 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.255, allocations: 51.88 kB / 1.075 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.255, allocations: 27.98 kB / 1.075 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002667/0.2553, allocations: 299.1 kB / 1.075 GB, free: 416 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2553, allocations: 0 / 1.075 GB, free: 416 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007431/0.256, allocations: 187.7 kB / 1.075 GB, free: 228 kB / 0.8262 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.001738/0.2578, allocations: 1.816 MB / 1.077 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.2596, allocations: 1.158 MB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2596, allocations: 0 / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.2603, allocations: 375.5 kB / 1.079 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/0.2612, allocations: 97.52 kB / 1.079 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007287/0.2685, allocations: 6.031 MB / 1.085 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.2689, allocations: 0.9172 MB / 1.086 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000386/0.2693, allocations: 195.1 kB / 1.086 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.2695, allocations: 147.4 kB / 1.086 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.2695, allocations: 0 / 1.086 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.472/4.742, allocations: 10.9 MB / 1.096 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/4.742, allocations: 246.9 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.767/11.51, allocations: 0 / 1.097 GB, free: 10.25 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.65da4d5620574d9bb9a7f5a8867e0c6e Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f56e2499520] /lib/x86_64-linux-gnu/libc.so.6(+0x1a0afe)[0x7f56e25f7afe] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(omc_matlab4_read_all_vals+0x1bb)[0x7f56e235d408] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x4b4bf)[0x7f56e23eb4bf] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(+0x48868)[0x7f56e23e8868] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResultsCmp_compareResults+0x1eb)[0x7f56e23e71ce] /usr/bin/../lib/x86_64-linux-gnu/omc/libomcruntime.so(SimulationResults_diffSimulationResults+0x2b)[0x7f56e23ebb7b] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimulationResults_diffSimulationResults+0x34)[0x7f56e2d1e533] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions4+0x9cb5)[0x7f56e3080bd7] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x4f66)[0x7f56e308709f] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x4373)[0x7f56e365a8b3] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1fb)[0x7f56e365d460] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_BackendInterface_cevalInteractiveFunctions+0x5d)[0x7f56e3880fcd] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork2+0x1e82)[0x7f56e387487c] /usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Ceval_cevalWork1+0xb7)[0x7f56e3876454] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: 12.092811104375869 12.115997084 11.88476173 OMC died, but the thread is still running? This will end badly.