Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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.001628/0.001628, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.002154/0.002154, allocations: 207.4 kB / 23 MB, free: 4.965 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.607/1.607, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.288/3.288, 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.ChillerSetPointControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|TSup.T|TRet.T",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.TSet|TSup.T|TRet.T",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") [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.002014/0.002014, allocations: 71.92 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3832, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.3236/0.7068, allocations: 248.7 MB / 1.57 GB, free: 7.426 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.04878/0.7556, allocations: 25.98 MB / 1.595 GB, free: 13.39 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00952/0.7651, allocations: 202.3 kB / 1.596 GB, free: 13.19 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.7762, allocations: 3.147 MB / 1.599 GB, free: 10.03 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01876/0.795, allocations: 5.759 MB / 1.604 GB, free: 4.246 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.9893/1.784, allocations: 4.373 MB / 1.608 GB, free: 19.39 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.02073/1.805, allocations: 12.22 MB / 1.62 GB, free: 19.39 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007167/1.812, allocations: 2.733 MB / 1.623 GB, free: 19.21 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01667/1.829, allocations: 5.041 MB / 1.628 GB, free: 19.21 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009018/1.838, allocations: 2.992 MB / 1.631 GB, free: 19.2 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002494/1.84, allocations: 369.8 kB / 1.631 GB, free: 19.2 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/1.854, allocations: 3.581 MB / 1.635 GB, free: 19.2 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003772/1.858, allocations: 1.268 MB / 1.636 GB, free: 19.2 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.007593/1.866, allocations: 1.824 MB / 1.638 GB, free: 18.8 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01893/1.885, allocations: 7.512 MB / 1.645 GB, free: 17.79 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.885, allocations: 0 / 1.645 GB, free: 17.79 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.894e-06/1.885, allocations: 1.062 kB / 1.645 GB, free: 17.79 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002981/1.885, allocations: 0 / 1.645 GB, free: 17.79 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 573 * Number of variables: 573 Notification: Performance of Generate backend data structure: time 0.01949/1.904, allocations: 5.156 MB / 1.65 GB, free: 15.36 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/1.904, allocations: 8.75 kB / 1.65 GB, free: 15.36 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/1.917, allocations: 1.479 MB / 1.652 GB, free: 15.1 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/1.929, allocations: 4.168 MB / 1.656 GB, free: 14.31 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005424/1.929, allocations: 321.3 kB / 1.656 GB, free: 14.18 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/1.931, allocations: 245.3 kB / 1.656 GB, free: 14.18 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/1.942, allocations: 3.508 MB / 1.66 GB, free: 13.35 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/1.942, allocations: 6.359 kB / 1.66 GB, free: 13.35 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000782/1.943, allocations: 94.84 kB / 1.66 GB, free: 13.35 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/1.943, allocations: 93.23 kB / 1.66 GB, free: 13.34 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009793/1.952, allocations: 3.061 MB / 1.663 GB, free: 13.31 MB / 1.295 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.02788/1.98, allocations: 9.762 MB / 1.672 GB, free: 10.44 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007/1.987, allocations: 2.147 MB / 1.674 GB, free: 10.37 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/1.99, allocations: 1.044 MB / 1.675 GB, free: 10.35 MB / 1.295 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.01063/2.001, allocations: 2.976 MB / 1.678 GB, free: 9.898 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003215/2.004, allocations: 1.533 MB / 1.68 GB, free: 9.418 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00183/2.006, allocations: 144.4 kB / 1.68 GB, free: 9.348 MB / 1.295 GB Notification: Performance of pre-optimization done (n=147): time 1.135e-05/2.006, allocations: 1.594 kB / 1.68 GB, free: 9.348 MB / 1.295 GB Notification: Performance of matching and sorting (n=147): time 0.009619/2.016, allocations: 3.054 MB / 1.683 GB, free: 9.062 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/2.016, allocations: 118.2 kB / 1.683 GB, free: 8.938 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007709/2.023, allocations: 3.569 MB / 1.687 GB, free: 8.578 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005387/2.024, allocations: 67.31 kB / 1.687 GB, free: 8.547 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/2.026, allocations: 1.749 MB / 1.688 GB, free: 8.012 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007377/2.027, allocations: 0.5257 MB / 1.689 GB, free: 7.672 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009643/2.027, allocations: 0.49 MB / 1.689 GB, free: 7.633 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/2.028, allocations: 306.7 kB / 1.69 GB, free: 7.332 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/2.031, allocations: 1.187 MB / 1.691 GB, free: 7.285 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/2.034, allocations: 2.357 MB / 1.693 GB, free: 5.926 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/2.04, allocations: 2.7 MB / 1.696 GB, free: 5.355 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/2.04, allocations: 5.031 kB / 1.696 GB, free: 5.355 MB / 1.295 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009231/2.05, allocations: 3.348 MB / 1.699 GB, free: 5.062 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/2.05, allocations: 7.781 kB / 1.699 GB, free: 5.062 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/2.05, allocations: 16.84 kB / 1.699 GB, free: 5.062 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-05/2.05, allocations: 22.75 kB / 1.699 GB, free: 5.062 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/2.053, allocations: 0.5953 MB / 1.7 GB, free: 5.047 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-05/2.053, allocations: 30.23 kB / 1.7 GB, free: 5.047 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/2.057, allocations: 281.5 kB / 1.7 GB, free: 5.023 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/2.057, allocations: 103.6 kB / 1.7 GB, free: 5.023 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004518/2.062, allocations: 1.848 MB / 1.702 GB, free: 4.914 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003508/2.065, allocations: 2.329 MB / 1.704 GB, free: 3.559 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005734/2.071, allocations: 2.663 MB / 1.707 GB, free: 2.984 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.608e-05/2.071, allocations: 2.719 kB / 1.707 GB, free: 2.984 MB / 1.295 GB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.008715/2.08, allocations: 3.291 MB / 1.71 GB, free: 2.695 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/2.08, allocations: 14.02 kB / 1.71 GB, free: 2.695 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/2.08, allocations: 17.41 kB / 1.71 GB, free: 2.691 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/2.08, allocations: 25.28 kB / 1.71 GB, free: 2.691 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/2.083, allocations: 0.571 MB / 1.711 GB, free: 2.684 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.933e-05/2.083, allocations: 34.97 kB / 1.711 GB, free: 2.684 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004234/2.087, allocations: 277.6 kB / 1.711 GB, free: 2.668 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004413/2.087, allocations: 105.8 kB / 1.711 GB, free: 2.664 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 19 (triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition3,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.sampleTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,chi.tru.y,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,$PRE.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 (268): * Single equations (assignments): 266 * 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.0007593/2.088, allocations: 318 kB / 1.711 GB, free: 2.473 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/2.089, allocations: 376.8 kB / 1.712 GB, free: 2.266 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006765/2.096, allocations: 2.626 MB / 1.714 GB, free: 2.078 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005141/2.101, allocations: 2.251 MB / 1.716 GB, free: 1.574 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/2.101, allocations: 0 / 1.716 GB, free: 1.574 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/2.104, allocations: 0.5886 MB / 1.717 GB, free: 1.367 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/2.106, allocations: 29.31 kB / 1.717 GB, free: 1.367 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/2.109, allocations: 206.4 kB / 1.717 GB, free: 1.355 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/2.109, allocations: 104.1 kB / 1.717 GB, free: 1.355 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007426/2.117, allocations: 2.486 MB / 1.72 GB, free: 1.086 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009814/2.127, allocations: 3.833 MB / 1.723 GB, free: 496 kB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002604/2.129, allocations: 0.9752 MB / 1.724 GB, free: 468 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004927/2.134, allocations: 2.395 MB / 1.727 GB, free: 280 kB / 1.295 GB Notification: Performance of Backend: time 5.41e-07/2.134, allocations: 2.938 kB / 1.727 GB, free: 280 kB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01562/2.15, allocations: 4.682 MB / 1.731 GB, free: 15.44 MB / 1.311 GB Notification: Performance of SimCode: time 0.0172/2.167, allocations: 7.794 MB / 1.739 GB, free: 11.47 MB / 1.311 GB Notification: Performance of Templates: time 0.1649/2.332, allocations: 93.41 MB / 1.83 GB, free: 5.363 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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: 14.223701067996444]