Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001281/0.001281, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 60.12 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8821, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002639/0.8848, allocations: 1.531 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.8856, allocations: 454.9 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.8856, allocations: 0 / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.8858, allocations: 7.938 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.8858, allocations: 7.875 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.8861, allocations: 35.88 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.8862, allocations: 83.72 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.8864, allocations: 20.17 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.8865, allocations: 47.89 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.8866, allocations: 35.84 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.8866, allocations: 4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.8866, allocations: 8 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.8867, allocations: 23.92 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.8867, allocations: 27.86 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.8869, allocations: 75.64 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8869, allocations: 0 / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8869, allocations: 0 / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.8869, allocations: 0 / 1.17 GB, free: 1.523 MB / 0.8887 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.0007883/0.8877, allocations: 452.2 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.8878, allocations: 8.922 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.8878, allocations: 12.84 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.888, allocations: 192.2 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8881, allocations: 384 / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.8881, allocations: 4.375 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.8884, allocations: 105.7 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8884, allocations: 0 / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.8885, allocations: 0 / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.8885, allocations: 0 / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.8888, allocations: 75.94 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.8894, allocations: 336.5 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.8897, allocations: 78.52 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.8899, allocations: 60.89 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.8899, allocations: 0 / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.8903, allocations: 107.4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/0.8903, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0006278/0.891, allocations: 219.2 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.891, allocations: 77.11 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.8911, allocations: 136.2 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.8912, allocations: 25.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.8912, allocations: 92.14 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.8912, allocations: 27.64 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.8913, allocations: 21.72 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.8914, allocations: 330.7 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.8916, allocations: 51.95 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.8917, allocations: 47.91 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.8921, allocations: 169.9 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8921, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004084/0.8925, allocations: 208.9 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.8926, allocations: 59.41 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8926, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.8926, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.8927, allocations: 20.27 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.8927, allocations: 3.984 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.8929, allocations: 19.98 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.8929, allocations: 3.938 kB / 1.172 GB, free: 14.34 MB / 0.9044 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.0001081/0.893, allocations: 147.5 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.893, allocations: 11.89 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.8931, allocations: 16.72 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.8931, allocations: 3.984 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8931, allocations: 0 / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.8931, allocations: 84.95 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.8932, allocations: 7.938 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.8933, allocations: 19.97 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8934, allocations: 19.98 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005238/0.8939, allocations: 310 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004777/0.8944, allocations: 344.4 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001749/0.8946, allocations: 63.83 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.8947, allocations: 99.2 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of Backend: time 2.1e-07/0.8947, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006041/0.8953, allocations: 264.2 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006378/0.8959, allocations: 0.6672 MB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.004085/0.9, allocations: 1.521 MB / 1.176 GB, free: 10.64 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches