Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.002216/0.002216, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.002925/0.002925, allocations: 163.4 kB / 22.46 MB, free: 5.359 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.476/1.476, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.697/2.697, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.639e-05, allocations: 6.219 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002681/0.002708, allocations: 1.523 MB / 0.9525 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.003653, allocations: 0.4953 MB / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.003724, allocations: 0 / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.003827, allocations: 7.875 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.003884, allocations: 19.84 kB / 0.953 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.004139, allocations: 35.95 kB / 0.953 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.004306, allocations: 91.64 kB / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.004401, allocations: 15.98 kB / 0.9531 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.004586, allocations: 63.81 kB / 0.9532 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.411e-05/0.00467, allocations: 27.91 kB / 0.9532 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.004694, allocations: 4 kB / 0.9532 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.93e-05/0.004744, allocations: 12 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.004789, allocations: 19.91 kB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.004839, allocations: 19.98 kB / 0.9532 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.005004, allocations: 83.75 kB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005006, allocations: 0 / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.41e-07/0.005007, allocations: 0 / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.005011, allocations: 3.938 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006904/0.005701, allocations: 383.4 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.005731, allocations: 8.031 kB / 0.9537 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.005906, allocations: 24.81 kB / 0.9537 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.00613, allocations: 141.6 kB / 0.9539 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.006145, allocations: 8.312 kB / 0.9539 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.006164, allocations: 8.375 kB / 0.9539 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.006475, allocations: 119.9 kB / 0.954 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006485, allocations: 4.125 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.006497, allocations: 384 / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.006503, allocations: 7.938 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.006823, allocations: 101.6 kB / 0.9541 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.007327, allocations: 256.5 kB / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.007657, allocations: 112.2 kB / 0.9544 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.00785, allocations: 82.58 kB / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.007863, allocations: 0 / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.00816, allocations: 129 kB / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.008162, allocations: 0 / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006979/0.00886, allocations: 274.5 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.008923, allocations: 85.11 kB / 0.955 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.009044, allocations: 127.9 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.009078, allocations: 33.7 kB / 0.9551 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.009145, allocations: 96.08 kB / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.009165, allocations: 15.84 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.009234, allocations: 33.7 kB / 0.9553 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.009374, allocations: 314.8 kB / 0.9556 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.009596, allocations: 107.4 kB / 0.9557 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.009818, allocations: 103.4 kB / 0.9558 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.01018, allocations: 174 kB / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01018, allocations: 0 / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005168/0.0107, allocations: 280.2 kB / 0.9562 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.01075, allocations: 59.41 kB / 0.9563 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.01076, allocations: 0 / 0.9563 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01077, allocations: 4 kB / 0.9563 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.0109, allocations: 15.97 kB / 0.9563 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.0109, allocations: 0 / 0.9563 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.01104, allocations: 19.94 kB / 0.9563 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01106, allocations: 4 kB / 0.9563 GB, free: 5.758 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001299/0.01119, allocations: 161.9 kB / 0.9565 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.01121, allocations: 11.89 kB / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.01125, allocations: 8.781 kB / 0.9565 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01125, allocations: 4 kB / 0.9565 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01125, allocations: 0 / 0.9565 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01126, allocations: 0 / 0.9565 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.0119, allocations: 405.7 kB / 0.9569 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0119, allocations: 0 / 0.9569 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.01201, allocations: 23.97 kB / 0.9569 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01201, allocations: 0 / 0.9569 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01202, allocations: 0 / 0.9569 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.01203, allocations: 4.078 kB / 0.9569 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01203, allocations: 3.984 kB / 0.9569 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.01254, allocations: 302.7 kB / 0.9572 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.01255, allocations: 7.953 kB / 0.9572 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.01258, allocations: 0 / 0.9572 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.01273, allocations: 19.97 kB / 0.9572 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.01283, allocations: 31.95 kB / 0.9573 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.01284, allocations: 0 / 0.9573 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.01291, allocations: 101.1 kB / 0.9574 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01291, allocations: 0 / 0.9574 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002478/0.01316, allocations: 20 kB / 0.9574 GB, free: 4.586 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001319/0.01329, allocations: 107.2 kB / 0.9575 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005815/0.01387, allocations: 315.8 kB / 0.9578 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01388, allocations: 0 / 0.9578 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.01413, allocations: 137.1 kB / 0.9579 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.01441, allocations: 11.92 kB / 0.9579 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.01495, allocations: 223 kB / 0.9581 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.813e-05/0.01504, allocations: 84.64 kB / 0.9582 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.195e-05/0.01509, allocations: 7.984 kB / 0.9582 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.01513, allocations: 12.5 kB / 0.9582 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.01513, allocations: 3.938 kB / 0.9582 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of Templates: time 0.00434/0.01947, allocations: 1.397 MB / 0.9596 GB, free: 2.215 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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: 7.682548139244318]