Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001395/0.001395, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.001463/0.001463, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 55.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8304/0.8319, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.2876/1.12, allocations: 277.2 MB / 1.359 GB, free: 8.18 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03521/1.155, allocations: 25.93 MB / 1.385 GB, free: 14.18 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005878/1.161, allocations: 143.2 kB / 1.385 GB, free: 14.04 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007547/1.168, allocations: 2.388 MB / 1.387 GB, free: 11.64 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01575/1.184, allocations: 5.474 MB / 1.392 GB, free: 6.152 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/1.195, allocations: 4.111 MB / 1.396 GB, free: 2.062 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01371/1.208, allocations: 9.233 MB / 1.405 GB, free: 8.805 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007665/1.216, allocations: 3.274 MB / 1.409 GB, free: 5.465 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01356/1.23, allocations: 4.2 MB / 1.413 GB, free: 1.262 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007083/1.237, allocations: 2.785 MB / 1.415 GB, free: 14.47 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001884/1.239, allocations: 368 kB / 1.416 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/1.249, allocations: 3.969 MB / 1.42 GB, free: 10.13 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002214/1.251, allocations: 1.102 MB / 1.421 GB, free: 9.027 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.004945/1.256, allocations: 2.111 MB / 1.423 GB, free: 6.906 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01512/1.271, allocations: 6.906 MB / 1.43 GB, free: 15.98 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.271, allocations: 8 kB / 1.43 GB, free: 15.97 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.894e-06/1.271, allocations: 0 / 1.43 GB, free: 15.97 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002279/1.272, allocations: 0 / 1.43 GB, free: 15.97 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.01249/1.284, allocations: 4.654 MB / 1.434 GB, free: 11.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.284, allocations: 8.031 kB / 1.434 GB, free: 11.22 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/1.294, allocations: 1.49 MB / 1.436 GB, free: 9.723 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008467/1.303, allocations: 3.254 MB / 1.439 GB, free: 6.402 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/1.303, allocations: 256.2 kB / 1.439 GB, free: 6.137 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007421/1.304, allocations: 239.9 kB / 1.439 GB, free: 5.902 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008347/1.312, allocations: 3.067 MB / 1.442 GB, free: 2.695 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.847e-05/1.312, allocations: 3.938 kB / 1.442 GB, free: 2.691 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/1.313, allocations: 96 kB / 1.442 GB, free: 2.598 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/1.313, allocations: 88.23 kB / 1.442 GB, free: 2.508 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008268/1.321, allocations: 2.975 MB / 1.445 GB, free: 15.51 MB / 1.186 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.02892/1.35, allocations: 13.32 MB / 1.458 GB, free: 1.434 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006777/1.357, allocations: 2.748 MB / 1.461 GB, free: 14.57 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/1.36, allocations: 1.164 MB / 1.462 GB, free: 13.39 MB / 1.201 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.0135/1.374, allocations: 5.967 MB / 1.468 GB, free: 7.012 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003456/1.377, allocations: 1.239 MB / 1.469 GB, free: 5.754 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002452/1.38, allocations: 274.1 kB / 1.469 GB, free: 5.484 MB / 1.201 GB Notification: Performance of pre-optimization done (n=149): time 8.906e-06/1.38, allocations: 0 / 1.469 GB, free: 5.484 MB / 1.201 GB Notification: Performance of matching and sorting (n=149): time 0.01029/1.39, allocations: 3.094 MB / 1.472 GB, free: 2.383 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/1.39, allocations: 128 kB / 1.473 GB, free: 2.234 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006987/1.397, allocations: 3.252 MB / 1.476 GB, free: 15 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003627/1.397, allocations: 57.7 kB / 1.476 GB, free: 14.93 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001692/1.399, allocations: 1.584 MB / 1.477 GB, free: 13.34 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/1.4, allocations: 0.5045 MB / 1.478 GB, free: 12.82 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009417/1.401, allocations: 407.1 kB / 1.478 GB, free: 12.42 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/1.401, allocations: 301.1 kB / 1.479 GB, free: 12.12 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/1.404, allocations: 1.039 MB / 1.48 GB, free: 11.08 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/1.408, allocations: 1.598 MB / 1.481 GB, free: 9.254 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006218/1.414, allocations: 2.42 MB / 1.483 GB, free: 6.656 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/1.414, allocations: 4 kB / 1.484 GB, free: 6.652 MB / 1.217 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008775/1.423, allocations: 2.938 MB / 1.486 GB, free: 3.703 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/1.423, allocations: 8 kB / 1.486 GB, free: 3.695 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/1.423, allocations: 20.06 kB / 1.486 GB, free: 3.676 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.629e-05/1.423, allocations: 20 kB / 1.486 GB, free: 3.656 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/1.426, allocations: 0.5538 MB / 1.487 GB, free: 3.102 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.955e-05/1.426, allocations: 35.86 kB / 1.487 GB, free: 3.066 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/1.43, allocations: 256.3 kB / 1.487 GB, free: 2.809 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/1.43, allocations: 103.9 kB / 1.487 GB, free: 2.707 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004701/1.435, allocations: 1.566 MB / 1.489 GB, free: 1.137 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003559/1.439, allocations: 1.555 MB / 1.49 GB, free: 15.35 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006128/1.445, allocations: 2.358 MB / 1.493 GB, free: 12.82 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.467e-05/1.445, allocations: 4 kB / 1.493 GB, free: 12.81 MB / 1.232 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.009165/1.454, allocations: 2.863 MB / 1.495 GB, free: 9.938 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.454, allocations: 11.94 kB / 1.495 GB, free: 9.926 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/1.454, allocations: 16.75 kB / 1.496 GB, free: 9.91 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/1.454, allocations: 20 kB / 1.496 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/1.457, allocations: 0.5382 MB / 1.496 GB, free: 9.352 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.805e-05/1.457, allocations: 31.92 kB / 1.496 GB, free: 9.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.461, allocations: 260.6 kB / 1.496 GB, free: 9.066 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/1.461, allocations: 99.94 kB / 1.496 GB, free: 8.969 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 17 (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,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 (234): * Single equations (assignments): 233 * Array equations: 1 * Algorithm blocks: 0 * 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.0006705/1.461, allocations: 305.4 kB / 1.497 GB, free: 8.66 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.463, allocations: 339.8 kB / 1.497 GB, free: 8.324 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007492/1.47, allocations: 2.68 MB / 1.5 GB, free: 5.648 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005544/1.476, allocations: 2.276 MB / 1.502 GB, free: 3.285 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.476, allocations: 0 / 1.502 GB, free: 3.285 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.478, allocations: 0.6215 MB / 1.502 GB, free: 2.641 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008496/1.478, allocations: 31.98 kB / 1.503 GB, free: 2.609 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.481, allocations: 207.7 kB / 1.503 GB, free: 2.406 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.482, allocations: 101.1 kB / 1.503 GB, free: 2.309 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007896/1.49, allocations: 2.523 MB / 1.505 GB, free: 15.78 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01014/1.5, allocations: 3.91 MB / 1.509 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00286/1.503, allocations: 1.064 MB / 1.51 GB, free: 10.78 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004815/1.507, allocations: 2.213 MB / 1.512 GB, free: 8.586 MB / 1.248 GB Notification: Performance of Backend: time 6.11e-07/1.507, allocations: 0 / 1.512 GB, free: 8.586 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01577/1.523, allocations: 4.304 MB / 1.517 GB, free: 4.473 MB / 1.248 GB Notification: Performance of SimCode: time 0.01797/1.541, allocations: 7.116 MB / 1.523 GB, free: 13.34 MB / 1.264 GB Notification: Performance of Templates: time 0.8355/2.377, allocations: 80.26 MB / 1.602 GB, free: 439.3 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches