Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 210.5 kB / 23 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.287/3.287, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|triAndRes.1..y|triAndRes.2..y|triAndRes.3..y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|triAndRes.1..y|triAndRes.2..y|triAndRes.3..y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 72.2 kB / 1.155 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4459, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.003981/0.4499, allocations: 2.028 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.4515, allocations: 0.6897 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.4517, allocations: 7.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.973e-05/0.4518, allocations: 23.73 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.4519, allocations: 39.59 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.4525, allocations: 143.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.4532, allocations: 0.5688 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.4534, allocations: 130.7 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.4538, allocations: 251.1 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.4541, allocations: 250.9 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.4542, allocations: 56 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4543, allocations: 60 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.4545, allocations: 127.6 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.4547, allocations: 203 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008089/0.4556, allocations: 0.7122 MB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4556, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4556, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.4556, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 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.002412/0.458, allocations: 0.9491 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.458, allocations: 8.031 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.4583, allocations: 76.58 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.459, allocations: 358.2 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.4591, allocations: 33.36 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.4591, allocations: 40.36 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.4606, allocations: 0.7729 MB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4606, allocations: 0 / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.4607, allocations: 16 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.4607, allocations: 8 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.462, allocations: 0.6016 MB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.4647, allocations: 1.436 MB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.4667, allocations: 0.8782 MB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.4674, allocations: 352.8 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.4675, allocations: 15.98 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.4685, allocations: 0.5449 MB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of pre-optimization done (n=51): time 2.786e-06/0.4685, allocations: 0 / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of matching and sorting (n=51): time 0.00251/0.471, allocations: 1.118 MB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.4712, allocations: 285 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.4717, allocations: 368.5 kB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.4718, allocations: 45.69 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.472, allocations: 212.9 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.4721, allocations: 139 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.4723, allocations: 118.3 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4725, allocations: 354.8 kB / 1.341 GB, free: 2.691 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.4732, allocations: 352.9 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009024/0.4741, allocations: 0.5914 MB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.4756, allocations: 0.7664 MB / 1.342 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4756, allocations: 0 / 1.342 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00181/0.4774, allocations: 0.8868 MB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.4775, allocations: 33.7 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4775, allocations: 4 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.4775, allocations: 8 kB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.4779, allocations: 116.2 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.4779, allocations: 11.94 kB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.4784, allocations: 103.6 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.4784, allocations: 24 kB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007577/0.4792, allocations: 442.9 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007126/0.4799, allocations: 0.5218 MB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001059/0.481, allocations: 0.6345 MB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.481, allocations: 0 / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00136/0.4823, allocations: 0.7267 MB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.4824, allocations: 37.64 kB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4824, allocations: 7.984 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4824, allocations: 8 kB / 1.346 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.4827, allocations: 79.94 kB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.4827, allocations: 11.98 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.4831, allocations: 87.89 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.4832, allocations: 24 kB / 1.346 GB, free: 12.83 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 56 (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,$PRE.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,$PRE.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,$PRE.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 (68): * Single equations (assignments): 67 * 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.0002997/0.4835, allocations: 256.5 kB / 1.346 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.4836, allocations: 55.7 kB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.4837, allocations: 55.11 kB / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4838, allocations: 4.031 kB / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4838, allocations: 7.984 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.4838, allocations: 39.7 kB / 1.346 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.4839, allocations: 19.98 kB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.4845, allocations: 111.8 kB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.4846, allocations: 55.8 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002191/0.4868, allocations: 1.309 MB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002051/0.4889, allocations: 1.357 MB / 1.349 GB, free: 9.535 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007814/0.4896, allocations: 366.2 kB / 1.35 GB, free: 9.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003165/0.49, allocations: 267 kB / 1.35 GB, free: 8.918 MB / 1.045 GB Notification: Performance of Backend: time 2.61e-07/0.49, allocations: 0 / 1.35 GB, free: 8.918 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002644/0.4926, allocations: 0.9678 MB / 1.351 GB, free: 7.906 MB / 1.045 GB Notification: Performance of SimCode: time 0.001881/0.4945, allocations: 1.26 MB / 1.352 GB, free: 6.602 MB / 1.045 GB Notification: Performance of Templates: time 0.02013/0.5146, allocations: 11.82 MB / 1.364 GB, free: 10.9 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.702374100997986]