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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 110 kB / 18.93 MB, free: 2.945 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.002059/0.002059, allocations: 194.4 kB / 22.23 MB, free: 5.156 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.439/1.439, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.91 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7494, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003141/0.7526, allocations: 1.546 MB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.7535, allocations: 468.3 kB / 1.22 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.7536, allocations: 0 / 1.22 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.7537, allocations: 9.297 kB / 1.22 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.7538, allocations: 13.23 kB / 1.22 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.754, allocations: 29 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.7542, allocations: 81.14 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.7543, allocations: 16.95 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.7544, allocations: 44.16 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.7545, allocations: 41.72 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.7545, allocations: 6.812 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.981e-05/0.7546, allocations: 5.719 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.7546, allocations: 15.55 kB / 1.221 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.7547, allocations: 36.61 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.7549, allocations: 79.53 kB / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7549, allocations: 0 / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7549, allocations: 0 / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.7549, allocations: 1.031 kB / 1.221 GB, free: 1.848 MB / 0.92 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.0007524/0.7556, allocations: 452.1 kB / 1.221 GB, free: 1.383 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.7557, allocations: 9.531 kB / 1.221 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.7557, allocations: 9.609 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.7559, allocations: 195.6 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.7559, allocations: 2.906 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.756, allocations: 5.938 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.7563, allocations: 102.5 kB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.7563, allocations: 0 / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.7563, allocations: 5.094 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7563, allocations: 1.125 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.7566, allocations: 69.12 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.7573, allocations: 329.1 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.7576, allocations: 82.83 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.7577, allocations: 50.36 kB / 1.222 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.7578, allocations: 1.688 kB / 1.222 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.7581, allocations: 112.4 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.7581, allocations: 3.938 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006406/0.7587, allocations: 211.6 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.7588, allocations: 87.25 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.759, allocations: 131.4 kB / 1.223 GB, free: 196 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.759, allocations: 26.83 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.7591, allocations: 100.5 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.7591, allocations: 23.22 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.7592, allocations: 22.25 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7593, allocations: 325 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.7595, allocations: 47.05 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.7597, allocations: 51.84 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.76, allocations: 167.6 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.76, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004348/0.7604, allocations: 214.9 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.7605, allocations: 58.94 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.7605, allocations: 0 / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7605, allocations: 0 / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.7607, allocations: 19.61 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.7607, allocations: 0 / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.7608, allocations: 26.39 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.7608, allocations: 10.09 kB / 1.224 GB, free: 15.27 MB / 0.9356 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.0001185/0.7609, allocations: 143.8 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.761, allocations: 8.359 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.761, allocations: 14.73 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.761, allocations: 9.031 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.761, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.761, allocations: 1.25 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/0.7616, allocations: 432.9 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.7616, allocations: 0 / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.7617, allocations: 13.45 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7617, allocations: 0.9062 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.7617, allocations: 9.125 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.7617, allocations: 5.031 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7617, allocations: 0 / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.7622, allocations: 264.7 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.7622, allocations: 87.23 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.7623, allocations: 6.203 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.7624, allocations: 27.7 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.7625, allocations: 21.5 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.7625, allocations: 2.188 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.91e-05/0.7626, allocations: 100.7 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7626, allocations: 1.312 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002392/0.7628, allocations: 15.88 kB / 1.225 GB, free: 14.24 MB / 0.9356 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.0001225/0.763, allocations: 109.8 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.7634, allocations: 224 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7634, allocations: 1.094 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.7637, allocations: 104.5 kB / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.7639, allocations: 20.7 kB / 1.225 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.7645, allocations: 221 kB / 1.225 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.7649, allocations: 0.6911 MB / 1.226 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.765, allocations: 10.23 kB / 1.226 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.765, allocations: 11.72 kB / 1.226 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.765, allocations: 0 / 1.226 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of Templates: time 0.00578/0.7708, allocations: 1.372 MB / 1.227 GB, free: 12.29 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.42008984554559]