Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001287/0.001287, allocations: 111.8 kB / 16.42 MB, free: 6.48 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.002141/0.002141, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8495/0.851, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.2843/1.135, allocations: 277.8 MB / 1.439 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04054/1.176, allocations: 27.72 MB / 1.466 GB, free: 1.305 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007314/1.183, allocations: 155.1 kB / 1.466 GB, free: 1.152 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.01002/1.193, allocations: 3.192 MB / 1.469 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01751/1.211, allocations: 5.648 MB / 1.474 GB, free: 8.277 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/1.223, allocations: 4.229 MB / 1.479 GB, free: 4.07 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02116/1.244, allocations: 12.19 MB / 1.49 GB, free: 7.863 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00908/1.253, allocations: 3.321 MB / 1.494 GB, free: 4.469 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01591/1.269, allocations: 4.191 MB / 1.498 GB, free: 280 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00845/1.277, allocations: 2.887 MB / 1.501 GB, free: 13.38 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001877/1.279, allocations: 376 kB / 1.501 GB, free: 13.01 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/1.292, allocations: 4.175 MB / 1.505 GB, free: 8.828 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002209/1.294, allocations: 1.254 MB / 1.506 GB, free: 7.57 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.004122/1.298, allocations: 2.313 MB / 1.509 GB, free: 5.246 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01615/1.314, allocations: 7.567 MB / 1.516 GB, free: 13.65 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.314, allocations: 4 kB / 1.516 GB, free: 13.65 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.014e-06/1.314, allocations: 0 / 1.516 GB, free: 13.65 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002015/1.314, allocations: 0 / 1.516 GB, free: 13.65 MB / 1.248 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.01267/1.327, allocations: 5.263 MB / 1.521 GB, free: 8.277 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.327, allocations: 8.922 kB / 1.521 GB, free: 8.27 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009587/1.337, allocations: 1.421 MB / 1.522 GB, free: 6.844 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009768/1.347, allocations: 4.331 MB / 1.527 GB, free: 2.453 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/1.347, allocations: 260.3 kB / 1.527 GB, free: 2.184 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006314/1.348, allocations: 247.9 kB / 1.527 GB, free: 1.941 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0075/1.355, allocations: 3.055 MB / 1.53 GB, free: 14.75 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/1.355, allocations: 11.94 kB / 1.53 GB, free: 14.73 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/1.355, allocations: 95.94 kB / 1.53 GB, free: 14.64 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.304e-05/1.355, allocations: 88.27 kB / 1.53 GB, free: 14.55 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008466/1.364, allocations: 2.964 MB / 1.533 GB, free: 11.57 MB / 1.264 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.02922/1.393, allocations: 13.38 MB / 1.546 GB, free: 13.41 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006443/1.4, allocations: 2.666 MB / 1.549 GB, free: 10.62 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/1.402, allocations: 1.091 MB / 1.55 GB, free: 9.527 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.01157/1.414, allocations: 5.654 MB / 1.555 GB, free: 3.465 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003047/1.417, allocations: 1.173 MB / 1.557 GB, free: 2.273 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001474/1.419, allocations: 170.6 kB / 1.557 GB, free: 2.105 MB / 1.279 GB Notification: Performance of pre-optimization done (n=149): time 7.975e-06/1.419, allocations: 0 / 1.557 GB, free: 2.105 MB / 1.279 GB Notification: Performance of matching and sorting (n=149): time 0.8863/2.305, allocations: 2.985 MB / 1.56 GB, free: 382.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/2.305, allocations: 129.3 kB / 1.56 GB, free: 382.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008697/2.314, allocations: 3.853 MB / 1.564 GB, free: 381.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005444/2.314, allocations: 61.56 kB / 1.564 GB, free: 381.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001597/2.316, allocations: 1.752 MB / 1.565 GB, free: 380.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006841/2.317, allocations: 0.5377 MB / 1.566 GB, free: 380.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008938/2.318, allocations: 0.4922 MB / 1.566 GB, free: 380 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/2.318, allocations: 309.8 kB / 1.567 GB, free: 379.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/2.321, allocations: 1.157 MB / 1.568 GB, free: 379.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003394/2.324, allocations: 1.792 MB / 1.57 GB, free: 378.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005469/2.33, allocations: 2.654 MB / 1.572 GB, free: 377 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/2.33, allocations: 3.969 kB / 1.572 GB, free: 377 MB / 1.279 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007742/2.337, allocations: 3.33 MB / 1.575 GB, free: 375.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/2.338, allocations: 11.88 kB / 1.575 GB, free: 375.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/2.338, allocations: 11.91 kB / 1.575 GB, free: 375.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/2.338, allocations: 27.62 kB / 1.575 GB, free: 375.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/2.34, allocations: 0.5795 MB / 1.576 GB, free: 375.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.871e-05/2.34, allocations: 33.77 kB / 1.576 GB, free: 375.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/2.344, allocations: 261.5 kB / 1.576 GB, free: 375.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/2.344, allocations: 111.1 kB / 1.576 GB, free: 375.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004038/2.348, allocations: 1.819 MB / 1.578 GB, free: 375 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003144/2.351, allocations: 1.759 MB / 1.58 GB, free: 374 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004989/2.356, allocations: 2.609 MB / 1.582 GB, free: 372.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.308e-05/2.356, allocations: 7.609 kB / 1.582 GB, free: 372.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.007265/2.364, allocations: 3.272 MB / 1.586 GB, free: 369.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/2.364, allocations: 13.14 kB / 1.586 GB, free: 369.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/2.364, allocations: 16 kB / 1.586 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/2.364, allocations: 27.72 kB / 1.586 GB, free: 369.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/2.366, allocations: 0.5599 MB / 1.586 GB, free: 369.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.25e-05/2.366, allocations: 35.77 kB / 1.586 GB, free: 369.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/2.37, allocations: 278.2 kB / 1.587 GB, free: 368.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/2.37, allocations: 99.06 kB / 1.587 GB, free: 368.9 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.0006714/2.371, allocations: 321.4 kB / 1.587 GB, free: 368.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/2.372, allocations: 405.1 kB / 1.587 GB, free: 368.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006185/2.378, allocations: 2.585 MB / 1.59 GB, free: 365.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00445/2.383, allocations: 2.19 MB / 1.592 GB, free: 363.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/2.383, allocations: 0 / 1.592 GB, free: 363.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/2.384, allocations: 0.6919 MB / 1.593 GB, free: 362.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009285/2.385, allocations: 32 kB / 1.593 GB, free: 362.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/2.388, allocations: 203.4 kB / 1.593 GB, free: 362.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/2.388, allocations: 97.11 kB / 1.593 GB, free: 362.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006153/2.395, allocations: 2.424 MB / 1.595 GB, free: 360 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007905/2.403, allocations: 3.823 MB / 1.599 GB, free: 356.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002169/2.405, allocations: 1.029 MB / 1.6 GB, free: 355.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004851/2.41, allocations: 2.609 MB / 1.603 GB, free: 352.5 MB / 1.279 GB Notification: Performance of Backend: time 2.705e-06/2.41, allocations: 0 / 1.603 GB, free: 352.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01712/2.427, allocations: 4.845 MB / 1.607 GB, free: 348.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.01763/2.444, allocations: 8.088 MB / 1.615 GB, free: 340.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1225/2.567, allocations: 87.82 MB / 1.701 GB, free: 253.2 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches