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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001866/0.001866, allocations: 110.4 kB / 16.38 MB, free: 6.488 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.002095/0.002095, allocations: 186.6 kB / 17.31 MB, free: 5.82 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.6 MB / 0.7166 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3539, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.9472/1.301, allocations: 277.8 MB / 1.298 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04231/1.343, allocations: 27.73 MB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00722/1.351, allocations: 151.1 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01111/1.362, allocations: 3.144 MB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01509/1.377, allocations: 5.399 MB / 1.334 GB, free: 6.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01125/1.388, allocations: 4.206 MB / 1.338 GB, free: 1.891 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0213/1.41, allocations: 12.17 MB / 1.35 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006928/1.417, allocations: 3.321 MB / 1.353 GB, free: 2.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/1.427, allocations: 4.086 MB / 1.357 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005518/1.433, allocations: 2.868 MB / 1.36 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001517/1.434, allocations: 379.9 kB / 1.36 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009879/1.444, allocations: 4.183 MB / 1.364 GB, free: 6.773 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00223/1.446, allocations: 1.246 MB / 1.365 GB, free: 5.523 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00475/1.451, allocations: 2.309 MB / 1.368 GB, free: 3.203 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0166/1.468, allocations: 7.536 MB / 1.375 GB, free: 11.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.468, allocations: 0 / 1.375 GB, free: 11.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.228e-06/1.468, allocations: 3.984 kB / 1.375 GB, free: 11.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002805/1.468, allocations: 0 / 1.375 GB, free: 11.64 MB / 1.076 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.01473/1.483, allocations: 5.094 MB / 1.38 GB, free: 6.445 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.483, allocations: 11.97 kB / 1.38 GB, free: 6.434 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009717/1.493, allocations: 1.399 MB / 1.381 GB, free: 5.027 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009861/1.503, allocations: 4.299 MB / 1.385 GB, free: 0.668 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/1.503, allocations: 264.3 kB / 1.386 GB, free: 404 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007695/1.504, allocations: 236 kB / 1.386 GB, free: 168 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007653/1.511, allocations: 3.053 MB / 1.389 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-05/1.512, allocations: 7.938 kB / 1.389 GB, free: 12.96 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/1.512, allocations: 96 kB / 1.389 GB, free: 12.87 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/1.512, allocations: 92.2 kB / 1.389 GB, free: 12.77 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008142/1.52, allocations: 2.964 MB / 1.392 GB, free: 9.793 MB / 1.092 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.0255/1.546, allocations: 13.35 MB / 1.405 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006007/1.552, allocations: 2.667 MB / 1.408 GB, free: 8.875 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/1.554, allocations: 1.099 MB / 1.409 GB, free: 7.773 MB / 1.107 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.01113/1.566, allocations: 5.657 MB / 1.414 GB, free: 1.707 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002786/1.568, allocations: 1.173 MB / 1.415 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001238/1.57, allocations: 166.2 kB / 1.416 GB, free: 360 kB / 1.107 GB Notification: Performance of pre-optimization done (n=149): time 3.998e-06/1.57, allocations: 0 / 1.416 GB, free: 360 kB / 1.107 GB Notification: Performance of matching and sorting (n=149): time 0.008428/1.578, allocations: 2.965 MB / 1.418 GB, free: 13.38 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/1.578, allocations: 124.1 kB / 1.419 GB, free: 13.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006712/1.585, allocations: 3.849 MB / 1.422 GB, free: 9.355 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005194/1.586, allocations: 65.7 kB / 1.422 GB, free: 9.285 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.587, allocations: 1.726 MB / 1.424 GB, free: 7.547 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007853/1.588, allocations: 0.5201 MB / 1.425 GB, free: 7.02 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008688/1.589, allocations: 0.4999 MB / 1.425 GB, free: 6.512 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.589, allocations: 301.1 kB / 1.425 GB, free: 6.215 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/1.592, allocations: 1.166 MB / 1.426 GB, free: 5.039 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003932/1.596, allocations: 1.788 MB / 1.428 GB, free: 3 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/1.603, allocations: 2.652 MB / 1.431 GB, free: 156 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/1.603, allocations: 4 kB / 1.431 GB, free: 152 kB / 1.123 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008722/1.612, allocations: 3.303 MB / 1.434 GB, free: 12.83 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.612, allocations: 16.72 kB / 1.434 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/1.612, allocations: 19.94 kB / 1.434 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/1.612, allocations: 28.23 kB / 1.434 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/1.614, allocations: 0.5733 MB / 1.435 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.331e-05/1.614, allocations: 35.86 kB / 1.435 GB, free: 12.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/1.618, allocations: 271.6 kB / 1.435 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/1.618, allocations: 108 kB / 1.435 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004296/1.623, allocations: 1.816 MB / 1.437 GB, free: 9.961 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003339/1.626, allocations: 1.768 MB / 1.439 GB, free: 7.938 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005622/1.632, allocations: 2.601 MB / 1.441 GB, free: 5.148 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.236e-05/1.632, allocations: 4 kB / 1.441 GB, free: 5.145 MB / 1.139 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.008437/1.64, allocations: 3.251 MB / 1.444 GB, free: 1.879 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.64, allocations: 12 kB / 1.444 GB, free: 1.867 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/1.64, allocations: 15.94 kB / 1.444 GB, free: 1.852 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/1.64, allocations: 24 kB / 1.444 GB, free: 1.828 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/1.643, allocations: 0.57 MB / 1.445 GB, free: 1.258 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.05e-05/1.643, allocations: 43.84 kB / 1.445 GB, free: 1.215 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/1.647, allocations: 263.8 kB / 1.445 GB, free: 0.957 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003629/1.647, allocations: 104 kB / 1.445 GB, free: 0.8555 MB / 1.139 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.0007428/1.648, allocations: 317.4 kB / 1.446 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.649, allocations: 383.2 kB / 1.446 GB, free: 164 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007139/1.656, allocations: 2.594 MB / 1.448 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005315/1.662, allocations: 2.186 MB / 1.451 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.662, allocations: 0 / 1.451 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/1.664, allocations: 0.6718 MB / 1.451 GB, free: 10.6 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008864/1.665, allocations: 28 kB / 1.451 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002719/1.668, allocations: 203.8 kB / 1.451 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/1.668, allocations: 93.17 kB / 1.452 GB, free: 10.28 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007015/1.675, allocations: 2.429 MB / 1.454 GB, free: 7.848 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009177/1.684, allocations: 3.803 MB / 1.458 GB, free: 4.023 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002478/1.687, allocations: 1.017 MB / 1.459 GB, free: 3.008 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004721/1.692, allocations: 2.609 MB / 1.461 GB, free: 404 kB / 1.154 GB Notification: Performance of Backend: time 8.52e-07/1.692, allocations: 0 / 1.461 GB, free: 404 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01365/1.705, allocations: 4.863 MB / 1.466 GB, free: 11.72 MB / 1.17 GB Notification: Performance of SimCode: time 0.01678/1.722, allocations: 7.95 MB / 1.474 GB, free: 3.762 MB / 1.17 GB Notification: Performance of Templates: time 0.6772/2.399, allocations: 87.16 MB / 1.559 GB, free: 426.2 MB / 1.232 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