Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001413/0.001413, 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.001751/0.001751, allocations: 207.9 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [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.002066/0.002066, allocations: 65.94 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4144, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003335/0.4177, allocations: 1.531 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.4188, allocations: 494.8 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.4189, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.419, allocations: 11.88 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.4191, allocations: 15.8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.4193, allocations: 43.89 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.4195, allocations: 87.77 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4196, allocations: 15.97 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.4198, allocations: 47.84 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.4199, allocations: 31.84 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.4199, allocations: 8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.42, allocations: 12 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.42, allocations: 23.91 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.4201, allocations: 27.86 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.4202, allocations: 79.59 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4203, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4203, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.4203, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 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.0007718/0.421, allocations: 381.4 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4211, allocations: 8.031 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.4213, allocations: 20.88 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.4216, allocations: 134.4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4216, allocations: 8.375 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.4216, allocations: 8.359 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.422, allocations: 123.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.422, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.422, allocations: 11.98 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.422, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.4224, allocations: 97.64 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.4231, allocations: 272.3 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.4235, allocations: 108.2 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.4237, allocations: 78.64 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.4237, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.4241, allocations: 133.1 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.4241, allocations: 3.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0008398/0.4249, allocations: 266.6 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.425, allocations: 77.11 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.4252, allocations: 136 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.4252, allocations: 37.64 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4254, allocations: 96.09 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.4254, allocations: 27.81 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.4255, allocations: 25.7 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002634/0.4257, allocations: 318.8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.426, allocations: 111.4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.4262, allocations: 107.3 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.4266, allocations: 173.9 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4266, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005858/0.4272, allocations: 268.3 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/0.4273, allocations: 59.41 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4273, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.4273, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4275, allocations: 19.97 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4275, allocations: 8.25 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.4276, allocations: 19.94 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.4276, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 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.0001924/0.4278, allocations: 152 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.4279, allocations: 7.953 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.4279, allocations: 12.72 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4279, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4279, allocations: 288 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.4279, allocations: 7.953 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.428, allocations: 15.92 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.4281, allocations: 19.86 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.4283, allocations: 19.97 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006467/0.4289, allocations: 335.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006019/0.4295, allocations: 382.1 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002139/0.4297, allocations: 81.59 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.378e-05/0.4298, allocations: 99.27 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of Backend: time 8.22e-07/0.4298, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008673/0.4307, allocations: 308.5 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009798/0.4317, allocations: 0.6752 MB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of Templates: time 0.00607/0.4377, allocations: 1.785 MB / 1.336 GB, free: 7.176 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.227984438999556]