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.0007717/0.0007717, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001845, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009905/0.0009905, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.002233, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8967/0.8967, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07837/0.975, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.728/1.728, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4798/2.207, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.7656 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.374e-05, allocations: 3 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002222/0.002236, allocations: 1.629 MB / 0.7312 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.004973, allocations: 0.5145 MB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.005036, allocations: 0.6562 kB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.005094, allocations: 7.875 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.005141, allocations: 13.84 kB / 0.7318 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.00529, allocations: 48.31 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.005427, allocations: 84.56 kB / 0.7319 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.0055, allocations: 19.97 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.005662, allocations: 60.55 kB / 0.732 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.005728, allocations: 32.42 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.005746, allocations: 4 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-05/0.005798, allocations: 21.27 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.005833, allocations: 11.94 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.005865, allocations: 19.88 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.005976, allocations: 57.02 kB / 0.7321 GB, free: 1.969 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.005987, allocations: 0 / 0.7321 GB, free: 1.969 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005987, allocations: 0 / 0.7321 GB, free: 1.969 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.005998, allocations: 0 / 0.7321 GB, free: 1.969 MB / 0.698 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.0005286/0.006526, allocations: 360.9 kB / 0.7324 GB, free: 1.582 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.006569, allocations: 9.156 kB / 0.7325 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.006732, allocations: 94.03 kB / 0.7325 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.007034, allocations: 131.5 kB / 0.7327 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.007044, allocations: 9.344 kB / 0.7327 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.00706, allocations: 12.3 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.007207, allocations: 109.4 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.007214, allocations: 192 / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.007224, allocations: 5 kB / 0.7328 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.007233, allocations: 3.938 kB / 0.7328 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.007274, allocations: 42.59 kB / 0.7328 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.007547, allocations: 199.7 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.007624, allocations: 64.2 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.007656, allocations: 43.97 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.007667, allocations: 0 / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.007779, allocations: 114.7 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.00778, allocations: 0 / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001404/0.007921, allocations: 158.8 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.007946, allocations: 55.41 kB / 0.7334 GB, free: 412 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.008009, allocations: 133.3 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.008023, allocations: 31.3 kB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.00806, allocations: 96.06 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.008076, allocations: 23.8 kB / 0.7337 GB, free: 108 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.00811, allocations: 29.69 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.008186, allocations: 319.4 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.008222, allocations: 67.39 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.008256, allocations: 76.7 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/0.00832, allocations: 112.8 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.008322, allocations: 0 / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000104/0.008426, allocations: 189.8 kB / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.008465, allocations: 60.66 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.008469, allocations: 4 kB / 0.7345 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.008482, allocations: 4 kB / 0.7345 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.008552, allocations: 16.48 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.008555, allocations: 1.344 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.008603, allocations: 11.98 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.008612, allocations: 4 kB / 0.7346 GB, free: 15.13 MB / 0.7136 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 7.533e-05/0.008687, allocations: 155.6 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.008701, allocations: 11.94 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.008729, allocations: 16.77 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008731, allocations: 1.25 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.008733, allocations: 0 / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.008736, allocations: 4 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.008891, allocations: 263.5 kB / 0.735 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008893, allocations: 0 / 0.735 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.008926, allocations: 15.92 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.008937, allocations: 16.66 kB / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.008938, allocations: 0 / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.008947, allocations: 12.45 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.008949, allocations: 3.938 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00895, allocations: 0.9375 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.009051, allocations: 210.9 kB / 0.7353 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.009068, allocations: 8.984 kB / 0.7353 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.00912, allocations: 12 kB / 0.7353 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.009184, allocations: 25.17 kB / 0.7353 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.00919, allocations: 0 / 0.7353 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.333e-05/0.009213, allocations: 28.83 kB / 0.7353 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.009213, allocations: 0.6562 kB / 0.7353 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000119/0.009332, allocations: 16 kB / 0.7353 GB, free: 14.27 MB / 0.7136 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 7.158e-05/0.009404, allocations: 81.17 kB / 0.7354 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.009554, allocations: 245.4 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.009562, allocations: 10.05 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.546e-05/0.009628, allocations: 113.9 kB / 0.7358 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.009776, allocations: 71.39 kB / 0.7358 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.01042, allocations: 234.7 kB / 0.7361 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.01046, allocations: 63.34 kB / 0.7361 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.01048, allocations: 11.23 kB / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.01055, allocations: 67.36 kB / 0.7362 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.01055, allocations: 0 / 0.7362 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.00272/0.01327, allocations: 1.453 MB / 0.7376 GB, free: 11.88 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.545531542040408]