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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 111.5 kB / 18.88 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 191.8 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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 0.002044/0.002044, allocations: 55.91 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7147, allocations: 168.7 MB / 1.274 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002841/0.7176, allocations: 1.542 MB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.7184, allocations: 460.5 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.7185, allocations: 0 / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.7186, allocations: 7.875 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.7186, allocations: 23.86 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.7188, allocations: 23.97 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.719, allocations: 91.69 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.7191, allocations: 16.17 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.7192, allocations: 31.86 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.7193, allocations: 39.83 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.7193, allocations: 8 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.7193, allocations: 4 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.7194, allocations: 23.91 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.7194, allocations: 31.86 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.7196, allocations: 74.33 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7196, allocations: 4 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7196, allocations: 0 / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.7196, allocations: 0 / 1.276 GB, free: 2.105 MB / 0.9669 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.0007896/0.7204, allocations: 450.5 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.7204, allocations: 8.031 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.7205, allocations: 8.891 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.7207, allocations: 192.2 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.7207, allocations: 8.375 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.7207, allocations: 8.375 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.721, allocations: 97.69 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.721, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.721, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.721, allocations: 4 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.7213, allocations: 75.86 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.7219, allocations: 332.7 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.7222, allocations: 82.55 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.7224, allocations: 56.94 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.7224, allocations: 0 / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.7227, allocations: 103.3 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.7227, allocations: 0 / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006591/0.7234, allocations: 211.2 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.7234, allocations: 81.11 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.7236, allocations: 133.2 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.7236, allocations: 29.7 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.7237, allocations: 100 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.7237, allocations: 15.91 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.7238, allocations: 29.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7239, allocations: 330.7 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.7241, allocations: 47.97 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.7243, allocations: 51.95 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.7246, allocations: 170 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7246, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000475/0.7251, allocations: 216.9 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.7252, allocations: 63.39 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7252, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7252, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.7253, allocations: 23.92 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7253, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.7255, allocations: 19.88 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.7255, allocations: 7.938 kB / 1.279 GB, free: 14.91 MB / 0.9825 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.0001285/0.7256, allocations: 151.5 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.7256, allocations: 7.953 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.7257, allocations: 12.72 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.7257, allocations: 4 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.7257, allocations: 3.984 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7257, allocations: 0 / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.7263, allocations: 432.1 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7263, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.7264, allocations: 15.98 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7264, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.7264, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.7264, allocations: 3.938 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7264, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.7269, allocations: 277.5 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.7269, allocations: 85.06 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.727, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.7271, allocations: 19.91 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.7273, allocations: 23.98 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.7273, allocations: 7.922 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.754e-05/0.7273, allocations: 99.27 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.7273, allocations: 4 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00025/0.7276, allocations: 20 kB / 1.28 GB, free: 13.64 MB / 0.9825 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.0001241/0.7277, allocations: 103.8 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.7282, allocations: 218.7 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7282, allocations: 0 / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.7285, allocations: 115.6 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.7288, allocations: 11.94 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.7294, allocations: 222.7 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.7297, allocations: 0.6924 MB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.775e-05/0.7297, allocations: 11.98 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.7298, allocations: 15.44 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.7298, allocations: 4 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of Templates: time 0.00439/0.7342, allocations: 1.347 MB / 1.283 GB, free: 10.84 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.469999645836651]