Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001164/0.001164, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001915/0.003079, allocations: 440 kB / 10.41 MB, free: 284 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.001153/0.001153, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.002709, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9794/0.9794, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09724/1.077, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.371/2.371, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2466/2.618, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.288e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002833/0.002855, allocations: 1.634 MB / 0.8205 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.003632, allocations: 0.518 MB / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.003693, allocations: 0 / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.886e-05/0.003761, allocations: 3.938 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.003813, allocations: 27.72 kB / 0.8211 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.004001, allocations: 39.89 kB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.004162, allocations: 91.7 kB / 0.8212 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.004248, allocations: 8 kB / 0.8212 GB, free: 148 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.004443, allocations: 71.75 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.004526, allocations: 31.95 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.00455, allocations: 11.94 kB / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.727e-05/0.004607, allocations: 8 kB / 0.8213 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.004645, allocations: 8 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.004685, allocations: 15.94 kB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004849, allocations: 59.81 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.004862, allocations: 3.938 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004863, allocations: 4 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.004877, allocations: 0 / 0.8214 GB, free: 15.93 MB / 0.8073 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.0005798/0.005457, allocations: 367.6 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.005492, allocations: 12.03 kB / 0.8218 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.005671, allocations: 97.97 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.005838, allocations: 124.3 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.00585, allocations: 8.375 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.005869, allocations: 4.375 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.006054, allocations: 116.5 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.006062, allocations: 192 / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.006074, allocations: 4.359 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.006082, allocations: 7.938 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.006133, allocations: 37.7 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.006464, allocations: 194.9 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.006565, allocations: 60.27 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.006609, allocations: 46.55 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.006626, allocations: 0 / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.006784, allocations: 105.1 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.006785, allocations: 4 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.000199/0.006984, allocations: 158.8 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.007018, allocations: 55.41 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.007105, allocations: 130.7 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.007123, allocations: 29.7 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.00717, allocations: 96.06 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.007194, allocations: 23.83 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.00724, allocations: 25.7 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.007332, allocations: 322.8 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.007387, allocations: 67.41 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.327e-05/0.00744, allocations: 75.39 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.416e-05/0.007534, allocations: 120.7 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007537, allocations: 0 / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001724/0.007709, allocations: 188.3 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.007761, allocations: 63.39 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007766, allocations: 4 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.007779, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.007885, allocations: 15.98 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.007887, allocations: 0 / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.007962, allocations: 19.94 kB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.007974, allocations: 4 kB / 0.8239 GB, free: 13.08 MB / 0.8073 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 9.03e-05/0.008064, allocations: 150.2 kB / 0.824 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.008089, allocations: 19.91 kB / 0.824 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.008117, allocations: 12.78 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.00812, allocations: 4 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008122, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008125, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.008363, allocations: 274.1 kB / 0.8243 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.008365, allocations: 0 / 0.8243 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.008425, allocations: 23.92 kB / 0.8243 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.008438, allocations: 7.891 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.008442, allocations: 4 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.008452, allocations: 0 / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.008454, allocations: 0 / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008455, allocations: 0 / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.008617, allocations: 226.8 kB / 0.8246 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.008637, allocations: 0 / 0.8246 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.008732, allocations: 11.98 kB / 0.8246 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.008808, allocations: 23.97 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.008816, allocations: 4 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.008847, allocations: 22.81 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.008847, allocations: 0 / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002239/0.009071, allocations: 20 kB / 0.8246 GB, free: 12.21 MB / 0.8073 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.0001202/0.009192, allocations: 84.41 kB / 0.8247 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.009398, allocations: 240.7 kB / 0.825 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.009407, allocations: 7.938 kB / 0.825 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.009514, allocations: 113.9 kB / 0.8251 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.009765, allocations: 79.95 kB / 0.8251 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.01079, allocations: 231.5 kB / 0.8254 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.413e-05/0.01083, allocations: 61.59 kB / 0.8254 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.701e-05/0.01088, allocations: 8 kB / 0.8254 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01099, allocations: 71.36 kB / 0.8255 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.01099, allocations: 0 / 0.8255 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of Templates: time 0.004132/0.01512, allocations: 1.46 MB / 0.8269 GB, free: 9.781 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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: 5.082921684719622]