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.0008555/0.0008555, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0009575/0.0009575, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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.8791/0.8791, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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 1.904/1.904, allocations: 429.6 MB / 0.6734 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 178] 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 1.203e-06/1.203e-06, allocations: 3.938 kB / 1.066 GB, free: 33.33 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.703e-05, allocations: 2.281 kB / 1.066 GB, free: 33.32 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.001456/0.001473, allocations: 1.552 MB / 1.068 GB, free: 32.27 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.002008, allocations: 490.9 kB / 1.068 GB, free: 31.95 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.002066, allocations: 6.781 kB / 1.068 GB, free: 31.95 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 8.336e-05/0.002149, allocations: 3.938 kB / 1.068 GB, free: 31.94 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.733e-05/0.002186, allocations: 18.64 kB / 1.068 GB, free: 31.93 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.002418, allocations: 51.06 kB / 1.068 GB, free: 31.89 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.002542, allocations: 84.23 kB / 1.068 GB, free: 31.86 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.002633, allocations: 13.2 kB / 1.068 GB, free: 31.85 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.002776, allocations: 63.89 kB / 1.068 GB, free: 31.82 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.002832, allocations: 23.41 kB / 1.068 GB, free: 31.82 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.00285, allocations: 5.719 kB / 1.068 GB, free: 31.82 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 3.549e-05/0.002886, allocations: 8.75 kB / 1.068 GB, free: 31.82 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.002922, allocations: 20.77 kB / 1.068 GB, free: 31.8 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.002962, allocations: 21.48 kB / 1.068 GB, free: 31.79 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.003084, allocations: 92.53 kB / 1.068 GB, free: 31.75 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003086, allocations: 4 kB / 1.068 GB, free: 31.75 MB / 1.01 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003087, allocations: 0 / 1.068 GB, free: 31.75 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003091, allocations: 0 / 1.068 GB, free: 31.75 MB / 1.01 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.000455/0.003546, allocations: 374.2 kB / 1.069 GB, free: 31.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.003576, allocations: 8.531 kB / 1.069 GB, free: 31.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/0.003674, allocations: 19.72 kB / 1.069 GB, free: 31.39 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.00381, allocations: 138.7 kB / 1.069 GB, free: 31.25 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.003821, allocations: 3.219 kB / 1.069 GB, free: 31.25 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.003833, allocations: 10.31 kB / 1.069 GB, free: 31.24 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.004011, allocations: 121.4 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.004021, allocations: 3.516 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.004032, allocations: 3.25 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.004037, allocations: 3.938 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.004173, allocations: 100.8 kB / 1.069 GB, free: 31.11 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.00449, allocations: 271.4 kB / 1.069 GB, free: 30.88 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.004637, allocations: 106.8 kB / 1.07 GB, free: 30.81 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.004715, allocations: 83.58 kB / 1.07 GB, free: 30.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.004726, allocations: 3.125 kB / 1.07 GB, free: 30.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.004864, allocations: 134.8 kB / 1.07 GB, free: 30.66 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.004865, allocations: 4 kB / 1.07 GB, free: 30.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=7): time 0.0003259/0.005191, allocations: 261.4 kB / 1.07 GB, free: 30.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.005215, allocations: 87.12 kB / 1.07 GB, free: 30.4 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.005277, allocations: 130.1 kB / 1.07 GB, free: 30.29 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.005285, allocations: 29.7 kB / 1.07 GB, free: 30.26 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.005317, allocations: 96.3 kB / 1.07 GB, free: 30.17 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.00533, allocations: 22.34 kB / 1.07 GB, free: 30.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.005361, allocations: 33.72 kB / 1.07 GB, free: 30.12 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.752e-05/0.005389, allocations: 321 kB / 1.071 GB, free: 29.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.005475, allocations: 100.5 kB / 1.071 GB, free: 29.73 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.005551, allocations: 105.2 kB / 1.071 GB, free: 29.66 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.005688, allocations: 164.4 kB / 1.071 GB, free: 29.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00569, allocations: 0 / 1.071 GB, free: 29.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.005896, allocations: 279.9 kB / 1.071 GB, free: 29.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.005933, allocations: 64.25 kB / 1.071 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005937, allocations: 0 / 1.071 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.00595, allocations: 0 / 1.071 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.006018, allocations: 26.19 kB / 1.071 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006022, allocations: 0 / 1.071 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.006077, allocations: 18.73 kB / 1.071 GB, free: 29.26 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.006087, allocations: 10.05 kB / 1.071 GB, free: 29.26 MB / 1.01 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 4.892e-05/0.006136, allocations: 149.9 kB / 1.072 GB, free: 29.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.006145, allocations: 11.11 kB / 1.072 GB, free: 29.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.006165, allocations: 15.02 kB / 1.072 GB, free: 29.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.006168, allocations: 2.906 kB / 1.072 GB, free: 29.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.006171, allocations: 0 / 1.072 GB, free: 29.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006174, allocations: 0 / 1.072 GB, free: 29.09 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.006425, allocations: 399.7 kB / 1.072 GB, free: 28.76 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006426, allocations: 4 kB / 1.072 GB, free: 28.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.006462, allocations: 16.06 kB / 1.072 GB, free: 28.75 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006464, allocations: 2.969 kB / 1.072 GB, free: 28.75 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.006472, allocations: 7.234 kB / 1.072 GB, free: 28.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006473, allocations: 0 / 1.072 GB, free: 28.75 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006474, allocations: 3.938 kB / 1.072 GB, free: 28.75 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.006653, allocations: 297.3 kB / 1.072 GB, free: 28.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.006661, allocations: 17.75 kB / 1.072 GB, free: 28.51 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.006676, allocations: 0 / 1.072 GB, free: 28.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.006738, allocations: 18.19 kB / 1.072 GB, free: 28.51 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.006816, allocations: 22.02 kB / 1.072 GB, free: 28.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.006823, allocations: 2.875 kB / 1.072 GB, free: 28.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.848e-05/0.006851, allocations: 103.9 kB / 1.072 GB, free: 28.42 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.006851, allocations: 0 / 1.072 GB, free: 28.42 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001458/0.006997, allocations: 14.12 kB / 1.072 GB, free: 28.42 MB / 1.01 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 6.976e-05/0.007067, allocations: 107 kB / 1.073 GB, free: 28.33 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.007305, allocations: 307.5 kB / 1.073 GB, free: 28.08 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.31e-07/0.007306, allocations: 0 / 1.073 GB, free: 28.08 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.007395, allocations: 134.9 kB / 1.073 GB, free: 27.97 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.00758, allocations: 19.81 kB / 1.073 GB, free: 27.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.007898, allocations: 253.9 kB / 1.073 GB, free: 27.75 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.169e-05/0.00794, allocations: 79.84 kB / 1.073 GB, free: 27.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.007973, allocations: 14.88 kB / 1.073 GB, free: 27.67 MB / 1.01 GB Notification: Performance of SimCode: time 7.71e-07/0.007974, allocations: 0 / 1.073 GB, free: 27.67 MB / 1.01 GB Notification: Performance of Templates: time 0.00177/0.009743, allocations: 1.308 MB / 1.075 GB, free: 27.58 MB / 1.01 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: 7.423666400834918]