Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|TSup.T|TRet.T",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|TSup.T|TRet.T",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 110.3 kB / 16.42 MB, free: 6.469 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.00123/0.00123, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 469.4 MB / 0.7428 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 72.06 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 159.1 MB / 1.221 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.3238/1.411, allocations: 277.8 MB / 1.492 GB, free: 11.61 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.05467/1.465, allocations: 27.72 MB / 1.519 GB, free: 15.81 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009032/1.474, allocations: 151.1 kB / 1.519 GB, free: 15.66 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/1.486, allocations: 3.19 MB / 1.522 GB, free: 12.46 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.02327/1.51, allocations: 5.649 MB / 1.528 GB, free: 6.793 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01352/1.523, allocations: 4.236 MB / 1.532 GB, free: 2.582 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.02097/1.544, allocations: 12.18 MB / 1.544 GB, free: 6.367 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006741/1.551, allocations: 3.321 MB / 1.547 GB, free: 2.973 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0129/1.564, allocations: 4.193 MB / 1.551 GB, free: 14.77 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007896/1.572, allocations: 2.875 MB / 1.554 GB, free: 11.89 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002112/1.574, allocations: 376 kB / 1.555 GB, free: 11.52 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/1.587, allocations: 4.187 MB / 1.559 GB, free: 7.328 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003292/1.59, allocations: 1.25 MB / 1.56 GB, free: 6.074 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.006927/1.597, allocations: 2.309 MB / 1.562 GB, free: 3.754 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 1.032/2.629, allocations: 7.54 MB / 1.569 GB, free: 41.3 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/2.63, allocations: 0.5312 kB / 1.569 GB, free: 41.3 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.854e-06/2.63, allocations: 0 / 1.569 GB, free: 41.3 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003866/2.63, allocations: 0.5312 kB / 1.569 GB, free: 41.3 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.02171/2.652, allocations: 5.097 MB / 1.574 GB, free: 39.11 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/2.652, allocations: 13.41 kB / 1.574 GB, free: 39.11 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/2.664, allocations: 1.395 MB / 1.576 GB, free: 38.86 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/2.678, allocations: 4.297 MB / 1.58 GB, free: 38.08 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004809/2.679, allocations: 263.7 kB / 1.58 GB, free: 38.01 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/2.68, allocations: 238.8 kB / 1.58 GB, free: 38.01 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009412/2.689, allocations: 3.058 MB / 1.583 GB, free: 37.65 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.105e-05/2.689, allocations: 6.562 kB / 1.583 GB, free: 37.65 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/2.69, allocations: 97.14 kB / 1.584 GB, free: 37.65 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/2.69, allocations: 90.03 kB / 1.584 GB, free: 37.64 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008773/2.699, allocations: 2.966 MB / 1.587 GB, free: 37.61 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02674/2.725, allocations: 13.35 MB / 1.6 GB, free: 31.77 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006239/2.732, allocations: 2.673 MB / 1.602 GB, free: 31.14 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/2.735, allocations: 1.088 MB / 1.603 GB, free: 31.12 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01152/2.746, allocations: 5.654 MB / 1.609 GB, free: 28.69 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00287/2.749, allocations: 1.173 MB / 1.61 GB, free: 28.61 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002002/2.751, allocations: 172.2 kB / 1.61 GB, free: 28.51 MB / 1.279 GB Notification: Performance of pre-optimization done (n=149): time 6.983e-06/2.751, allocations: 0.875 kB / 1.61 GB, free: 28.51 MB / 1.279 GB Notification: Performance of matching and sorting (n=149): time 0.008863/2.76, allocations: 2.965 MB / 1.613 GB, free: 28.24 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/2.76, allocations: 127.5 kB / 1.613 GB, free: 28.12 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007349/2.767, allocations: 3.849 MB / 1.617 GB, free: 27.77 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006655/2.768, allocations: 61.17 kB / 1.617 GB, free: 27.73 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/2.77, allocations: 1.73 MB / 1.619 GB, free: 27.29 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007468/2.77, allocations: 0.5092 MB / 1.619 GB, free: 26.96 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008997/2.771, allocations: 0.5012 MB / 1.62 GB, free: 26.92 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/2.771, allocations: 307.6 kB / 1.62 GB, free: 26.62 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/2.774, allocations: 1.158 MB / 1.621 GB, free: 26.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/2.778, allocations: 1.787 MB / 1.623 GB, free: 25.94 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/2.784, allocations: 2.657 MB / 1.625 GB, free: 25.35 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.257e-05/2.784, allocations: 6 kB / 1.625 GB, free: 25.35 MB / 1.279 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00913/2.793, allocations: 3.299 MB / 1.629 GB, free: 25.04 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/2.793, allocations: 10.91 kB / 1.629 GB, free: 25.04 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/2.793, allocations: 16.56 kB / 1.629 GB, free: 25.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.406e-05/2.794, allocations: 24.09 kB / 1.629 GB, free: 25.04 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/2.796, allocations: 0.5769 MB / 1.629 GB, free: 25.03 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-05/2.796, allocations: 35.5 kB / 1.629 GB, free: 25.03 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/2.801, allocations: 260.2 kB / 1.63 GB, free: 25.01 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004298/2.802, allocations: 109.8 kB / 1.63 GB, free: 25.01 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004814/2.806, allocations: 1.82 MB / 1.631 GB, free: 24.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003327/2.81, allocations: 1.772 MB / 1.633 GB, free: 24.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005251/2.815, allocations: 2.612 MB / 1.636 GB, free: 23.61 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.729e-05/2.815, allocations: 5.281 kB / 1.636 GB, free: 23.61 MB / 1.279 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.008129/2.823, allocations: 3.252 MB / 1.639 GB, free: 23.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/2.823, allocations: 12.36 kB / 1.639 GB, free: 23.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/2.823, allocations: 13.38 kB / 1.639 GB, free: 23.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/2.823, allocations: 23.97 kB / 1.639 GB, free: 23.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/2.826, allocations: 0.5658 MB / 1.639 GB, free: 23.29 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-05/2.826, allocations: 33.19 kB / 1.639 GB, free: 23.29 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/2.83, allocations: 275.9 kB / 1.64 GB, free: 23.27 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/2.83, allocations: 105.1 kB / 1.64 GB, free: 23.27 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 18 (triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition3,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition1,triAndRes.sam.sampleTrigger,$whenCondition2,chi.tru.y,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,triAndRes.incY.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 268 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0007129/2.831, allocations: 326.8 kB / 1.64 GB, free: 23.07 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/2.832, allocations: 374.2 kB / 1.641 GB, free: 22.87 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006727/2.839, allocations: 2.593 MB / 1.643 GB, free: 22.68 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004872/2.844, allocations: 2.19 MB / 1.645 GB, free: 22.18 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/2.844, allocations: 0 / 1.645 GB, free: 22.18 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/2.847, allocations: 0.6753 MB / 1.646 GB, free: 21.89 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/2.848, allocations: 32.45 kB / 1.646 GB, free: 21.89 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/2.851, allocations: 201 kB / 1.646 GB, free: 21.88 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/2.851, allocations: 94.75 kB / 1.646 GB, free: 21.88 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006981/2.858, allocations: 2.422 MB / 1.649 GB, free: 21.61 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009358/2.867, allocations: 3.814 MB / 1.652 GB, free: 21 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002646/2.87, allocations: 1.017 MB / 1.653 GB, free: 20.97 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005681/2.876, allocations: 2.613 MB / 1.656 GB, free: 20.79 MB / 1.279 GB Notification: Performance of Backend: time 1.503e-06/2.876, allocations: 0 / 1.656 GB, free: 20.79 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0164/2.892, allocations: 4.839 MB / 1.661 GB, free: 20.34 MB / 1.279 GB Notification: Performance of SimCode: time 0.01704/2.909, allocations: 7.944 MB / 1.668 GB, free: 17.12 MB / 1.279 GB Notification: Performance of Templates: time 0.1466/3.056, allocations: 87.82 MB / 1.754 GB, free: 10.09 MB / 1.342 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches