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.001574/0.001574, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001615/0.001615, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.514/1.514, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 443.5 MB / 0.7293 GB, free: 14.57 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001957/0.001957, allocations: 67.89 kB / 1.057 GB, free: 2.09 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3481, allocations: 160.7 MB / 1.214 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002993/0.3511, allocations: 1.523 MB / 1.216 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008539/0.3519, allocations: 459.6 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.352, allocations: 4 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3521, allocations: 11.86 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.3521, allocations: 11.88 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.3524, allocations: 31.94 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3525, allocations: 83.78 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3527, allocations: 12.17 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3528, allocations: 51.77 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.3529, allocations: 39.78 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.3529, allocations: 4 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.3529, allocations: 8 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.353, allocations: 15.98 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.353, allocations: 35.8 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3532, allocations: 75.64 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3532, allocations: 0 / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3532, allocations: 0 / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3532, allocations: 0 / 1.216 GB, free: 14.69 MB / 0.9669 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.0007894/0.354, allocations: 450.5 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.354, allocations: 12.03 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.3541, allocations: 12.88 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3543, allocations: 196.2 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3543, allocations: 8.312 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3543, allocations: 8.375 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3546, allocations: 93.75 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3546, allocations: 0 / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3546, allocations: 4 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3546, allocations: 0 / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.355, allocations: 75.94 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.3556, allocations: 328.7 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.3559, allocations: 78.52 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.356, allocations: 48.95 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3561, allocations: 4 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/0.3564, allocations: 111.3 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3564, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000647/0.357, allocations: 207.2 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.3571, allocations: 89.09 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3572, allocations: 130.1 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.3573, allocations: 25.7 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.3573, allocations: 96.09 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3574, allocations: 23.83 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.3574, allocations: 25.66 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3576, allocations: 330.8 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3578, allocations: 51.89 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3579, allocations: 47.97 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.3583, allocations: 165.9 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3583, allocations: 4 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004721/0.3587, allocations: 212.9 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.3588, allocations: 61.44 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3588, allocations: 0 / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3588, allocations: 4 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.359, allocations: 11.98 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.359, allocations: 3.938 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.3591, allocations: 27.92 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3591, allocations: 11.94 kB / 1.219 GB, free: 11.49 MB / 0.9669 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.0001381/0.3593, allocations: 143.5 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.3593, allocations: 11.95 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.3593, allocations: 12.7 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.3593, allocations: 0 / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3593, allocations: 0 / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3593, allocations: 4 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.36, allocations: 436.1 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.36, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3601, allocations: 15.92 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3601, allocations: 288 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3601, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3601, allocations: 3.938 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3601, allocations: 3.938 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.3606, allocations: 269.1 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.3606, allocations: 89.05 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.3606, allocations: 0 / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.3608, allocations: 19.92 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3609, allocations: 19.97 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.3609, allocations: 8 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.934e-05/0.361, allocations: 102.1 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.361, allocations: 0 / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002405/0.3612, allocations: 16 kB / 1.22 GB, free: 10.24 MB / 0.9669 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.0001458/0.3614, allocations: 119.2 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.3619, allocations: 211.2 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3619, allocations: 4 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.3621, allocations: 111.3 kB / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.3624, allocations: 16.12 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.363, allocations: 232.6 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3634, allocations: 0.6924 MB / 1.222 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.3634, allocations: 11.44 kB / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3634, allocations: 4 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.003392/0.3668, allocations: 1.259 MB / 1.223 GB, free: 7.496 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.600683564087376]