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.001296/0.001296, allocations: 96.36 kB / 19.7 MB, free: 456 kB / 13.93 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.001169/0.001169, allocations: 215.5 kB / 23 MB, free: 2.977 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 1.011/1.011, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.516/2.516, allocations: 0.5569 GB / 0.8628 GB, free: 29.35 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 0.0009488/0.0009488, allocations: 68.44 kB / 1.255 GB, free: 22.33 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3625, allocations: 193.6 MB / 1.444 GB, free: 9.121 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002396/0.3649, allocations: 1.55 MB / 1.446 GB, free: 7.559 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3661, allocations: 499.6 kB / 1.446 GB, free: 7.066 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.3661, allocations: 0 / 1.446 GB, free: 7.066 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.3662, allocations: 3.938 kB / 1.446 GB, free: 7.062 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 4.894e-05/0.3663, allocations: 11.86 kB / 1.446 GB, free: 7.051 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.3666, allocations: 39.89 kB / 1.446 GB, free: 7.012 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3667, allocations: 95.7 kB / 1.447 GB, free: 6.918 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3668, allocations: 11.98 kB / 1.447 GB, free: 6.906 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.367, allocations: 43.84 kB / 1.447 GB, free: 6.863 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.3671, allocations: 39.83 kB / 1.447 GB, free: 6.824 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3671, allocations: 8 kB / 1.447 GB, free: 6.816 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 4.893e-05/0.3672, allocations: 8 kB / 1.447 GB, free: 6.809 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.3672, allocations: 19.92 kB / 1.447 GB, free: 6.789 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.3673, allocations: 27.86 kB / 1.447 GB, free: 6.762 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3674, allocations: 75.7 kB / 1.447 GB, free: 6.688 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3674, allocations: 4 kB / 1.447 GB, free: 6.684 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3674, allocations: 0 / 1.447 GB, free: 6.684 MB / 1.12 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3674, allocations: 0 / 1.447 GB, free: 6.684 MB / 1.12 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.0006094/0.368, allocations: 377.3 kB / 1.447 GB, free: 6.273 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3681, allocations: 19.97 kB / 1.447 GB, free: 6.254 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3682, allocations: 16.88 kB / 1.447 GB, free: 6.238 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.3685, allocations: 138.3 kB / 1.447 GB, free: 6.078 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3685, allocations: 4.375 kB / 1.447 GB, free: 6.074 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3685, allocations: 8.312 kB / 1.447 GB, free: 6.066 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.3688, allocations: 127.6 kB / 1.447 GB, free: 5.93 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3688, allocations: 0 / 1.447 GB, free: 5.93 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3688, allocations: 0 / 1.447 GB, free: 5.93 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3688, allocations: 3.938 kB / 1.447 GB, free: 5.926 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.369, allocations: 109.6 kB / 1.448 GB, free: 5.812 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.3694, allocations: 260.4 kB / 1.448 GB, free: 5.527 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.3696, allocations: 108.2 kB / 1.448 GB, free: 5.406 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.3697, allocations: 78.64 kB / 1.448 GB, free: 5.32 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.3697, allocations: 4 kB / 1.448 GB, free: 5.316 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.3699, allocations: 129 kB / 1.448 GB, free: 5.172 MB / 1.12 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.37, allocations: 0 / 1.448 GB, free: 5.172 MB / 1.12 GB Notification: Performance of matching and sorting (n=7): time 0.0004318/0.3704, allocations: 270.8 kB / 1.448 GB, free: 4.883 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3704, allocations: 89.11 kB / 1.448 GB, free: 4.777 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3705, allocations: 128.2 kB / 1.449 GB, free: 4.641 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3706, allocations: 29.7 kB / 1.449 GB, free: 4.605 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.3706, allocations: 104 kB / 1.449 GB, free: 4.5 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3706, allocations: 15.86 kB / 1.449 GB, free: 4.484 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.3707, allocations: 29.7 kB / 1.449 GB, free: 4.449 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.3708, allocations: 326.8 kB / 1.449 GB, free: 4.121 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3709, allocations: 99.38 kB / 1.449 GB, free: 4.012 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.371, allocations: 103.4 kB / 1.449 GB, free: 3.898 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3712, allocations: 178 kB / 1.449 GB, free: 3.703 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3712, allocations: 0 / 1.449 GB, free: 3.703 MB / 1.12 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002744/0.3715, allocations: 264.4 kB / 1.45 GB, free: 3.414 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.3715, allocations: 69.11 kB / 1.45 GB, free: 3.336 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3715, allocations: 0 / 1.45 GB, free: 3.336 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3715, allocations: 7.938 kB / 1.45 GB, free: 3.328 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.3716, allocations: 15.98 kB / 1.45 GB, free: 3.312 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3717, allocations: 4.062 kB / 1.45 GB, free: 3.309 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.3717, allocations: 19.92 kB / 1.45 GB, free: 3.289 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3717, allocations: 0 / 1.45 GB, free: 3.289 MB / 1.12 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.0001002/0.3718, allocations: 159.5 kB / 1.45 GB, free: 3.117 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.3718, allocations: 7.953 kB / 1.45 GB, free: 3.109 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.3719, allocations: 16.66 kB / 1.45 GB, free: 3.09 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3719, allocations: 0 / 1.45 GB, free: 3.09 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3719, allocations: 4 kB / 1.45 GB, free: 3.086 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3719, allocations: 3.984 kB / 1.45 GB, free: 3.082 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.3723, allocations: 405.5 kB / 1.45 GB, free: 2.637 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3723, allocations: 0 / 1.45 GB, free: 2.637 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.3723, allocations: 11.98 kB / 1.45 GB, free: 2.625 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3723, allocations: 8 kB / 1.45 GB, free: 2.617 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3723, allocations: 0 / 1.45 GB, free: 2.617 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3723, allocations: 0 / 1.45 GB, free: 2.617 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3723, allocations: 4 kB / 1.45 GB, free: 2.613 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3726, allocations: 298.8 kB / 1.451 GB, free: 2.293 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.3726, allocations: 3.953 kB / 1.451 GB, free: 2.289 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3726, allocations: 11.92 kB / 1.451 GB, free: 2.277 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.3727, allocations: 15.98 kB / 1.451 GB, free: 2.262 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.3728, allocations: 19.97 kB / 1.451 GB, free: 2.242 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3728, allocations: 4 kB / 1.451 GB, free: 2.238 MB / 1.12 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.3729, allocations: 107.2 kB / 1.451 GB, free: 2.133 MB / 1.12 GB Notification: Performance of sort global known variables: time 5e-08/0.3729, allocations: 0 / 1.451 GB, free: 2.133 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0001732/0.373, allocations: 16 kB / 1.451 GB, free: 2.117 MB / 1.12 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.00011/0.3731, allocations: 111.2 kB / 1.451 GB, free: 2 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.3735, allocations: 303.8 kB / 1.451 GB, free: 1.66 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3735, allocations: 192 / 1.451 GB, free: 1.66 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3736, allocations: 137.1 kB / 1.451 GB, free: 1.508 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3738, allocations: 20.64 kB / 1.451 GB, free: 1.488 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.3743, allocations: 270.4 kB / 1.452 GB, free: 1.188 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.096e-05/0.3743, allocations: 87.27 kB / 1.452 GB, free: 1.082 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.3744, allocations: 11.44 kB / 1.452 GB, free: 1.07 MB / 1.12 GB Notification: Performance of SimCode: time 9.11e-07/0.3744, allocations: 0 / 1.452 GB, free: 1.07 MB / 1.12 GB Notification: Performance of Templates: time 0.002619/0.377, allocations: 1.306 MB / 1.453 GB, free: 15.78 MB / 1.135 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 -emit_protected > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.751935923995916]