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.001535/0.001535, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002204/0.002204, allocations: 197.3 kB / 22.17 MB, free: 5.656 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.532/1.532, 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.829/2.829, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.002093/0.002093, allocations: 63.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.995/0.9971, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003465/1.001, allocations: 1.535 MB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00107/1.002, allocations: 468.5 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/1.002, allocations: 0 / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/1.002, allocations: 7.875 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/1.002, allocations: 7.875 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/1.002, allocations: 39.94 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/1.002, allocations: 83.7 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/1.002, allocations: 12.19 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/1.003, allocations: 47.83 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/1.003, allocations: 35.84 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/1.003, allocations: 4 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/1.003, allocations: 8 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/1.003, allocations: 15.92 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/1.003, allocations: 31.86 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/1.003, allocations: 78.31 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.003, allocations: 0 / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/1.003, allocations: 0 / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.003, allocations: 4 kB / 1.276 GB, free: 2.051 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.0009029/1.004, allocations: 446.5 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.004, allocations: 12.03 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/1.004, allocations: 12.89 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/1.004, allocations: 196.8 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.004, allocations: 384 / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/1.004, allocations: 4.375 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/1.005, allocations: 109.7 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.005, allocations: 0 / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.005, allocations: 0 / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.005, allocations: 0 / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/1.005, allocations: 75.88 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/1.006, allocations: 336.7 kB / 1.277 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/1.006, allocations: 78.61 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/1.006, allocations: 48.89 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/1.006, allocations: 7.984 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/1.007, allocations: 107.3 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/1.007, allocations: 0 / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007085/1.008, allocations: 211.2 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/1.008, allocations: 85.05 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/1.008, allocations: 136.9 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/1.008, allocations: 25.7 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/1.008, allocations: 100 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/1.008, allocations: 19.89 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/1.008, allocations: 21.72 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.008, allocations: 326.8 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/1.008, allocations: 51.89 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/1.009, allocations: 51.97 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/1.009, allocations: 161.9 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.009, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004841/1.009, allocations: 221 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/1.009, allocations: 55.41 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.009, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.009, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.01, allocations: 19.91 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/1.01, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/1.01, allocations: 23.88 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/1.01, allocations: 11.94 kB / 1.279 GB, free: 14.85 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.0001396/1.01, allocations: 143.5 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/1.01, allocations: 15.95 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/1.01, allocations: 8.719 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.01, allocations: 0 / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.01, allocations: 0 / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.01, allocations: 0 / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/1.011, allocations: 436.1 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.011, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/1.011, allocations: 15.98 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.011, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.011, allocations: 11.98 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/1.011, allocations: 7.938 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.011, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/1.011, allocations: 265.5 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/1.011, allocations: 85.06 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/1.011, allocations: 8 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/1.012, allocations: 15.92 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.012, allocations: 19.97 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/1.012, allocations: 4 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.026e-05/1.012, allocations: 99.27 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.012, allocations: 0 / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000244/1.012, allocations: 23.94 kB / 1.28 GB, free: 13.59 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.0001588/1.012, allocations: 107.8 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005172/1.013, allocations: 218.7 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.013, allocations: 3.938 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/1.013, allocations: 107.3 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/1.013, allocations: 24.2 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/1.014, allocations: 220.9 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/1.014, allocations: 0.6885 MB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.74e-05/1.014, allocations: 15.92 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/1.014, allocations: 11.44 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.014, allocations: 4 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.004677/1.019, allocations: 1.341 MB / 1.283 GB, free: 10.78 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 cvode -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: 9.200522356200963]