Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.001015/0.001015, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001873/0.001873, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.473 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 2.519/2.519, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.695e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00308/0.003107, allocations: 1.586 MB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.004048, allocations: 0.4986 MB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.004115, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.004219, allocations: 11.86 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.004285, allocations: 27.8 kB / 0.8407 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.004538, allocations: 43.83 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.004718, allocations: 107.7 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.004809, allocations: 16.17 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.005023, allocations: 63.88 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.005111, allocations: 31.95 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.005137, allocations: 8 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.676e-05/0.005193, allocations: 8 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.005229, allocations: 19.91 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.005278, allocations: 35.92 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.005423, allocations: 79.72 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005426, allocations: 4 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005427, allocations: 0 / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.005431, allocations: 0 / 0.841 GB, free: 11.69 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005216/0.005952, allocations: 348 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.005993, allocations: 12.62 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.006141, allocations: 20.91 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006332, allocations: 133.6 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.006347, allocations: 12.38 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.006364, allocations: 8.375 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.006581, allocations: 132.6 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.006592, allocations: 4.172 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.006606, allocations: 8.125 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.006613, allocations: 4 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.006692, allocations: 57.62 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.007046, allocations: 179.1 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.007167, allocations: 76.27 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.007235, allocations: 66.67 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.007248, allocations: 0 / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.007434, allocations: 124.9 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.007435, allocations: 0 / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0002657/0.007701, allocations: 190.8 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.007751, allocations: 85.11 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.007855, allocations: 134.7 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.007877, allocations: 37.58 kB / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.007934, allocations: 92.12 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.007956, allocations: 23.83 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.008018, allocations: 29.7 kB / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.008118, allocations: 322.8 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/0.008199, allocations: 79.39 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.008269, allocations: 79.39 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.008667, allocations: 136.7 kB / 0.8433 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008669, allocations: 0 / 0.8433 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001903/0.00886, allocations: 208.3 kB / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.008911, allocations: 67.39 kB / 0.8436 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008916, allocations: 0 / 0.8436 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.008931, allocations: 0 / 0.8436 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.009032, allocations: 19.98 kB / 0.8436 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.009034, allocations: 0 / 0.8436 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.009135, allocations: 23.94 kB / 0.8436 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.00915, allocations: 4 kB / 0.8436 GB, free: 8.719 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001043/0.009255, allocations: 150.4 kB / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.00928, allocations: 15.92 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.009309, allocations: 12.78 kB / 0.8438 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009311, allocations: 3.938 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.009313, allocations: 0 / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.009316, allocations: 4 kB / 0.8438 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.692e-05/0.009412, allocations: 85.86 kB / 0.8439 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009414, allocations: 256 / 0.8439 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.961e-05/0.009464, allocations: 8 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.009468, allocations: 4 kB / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.009482, allocations: 7.984 kB / 0.8439 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.009485, allocations: 3.938 kB / 0.8439 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.009487, allocations: 0 / 0.8439 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.009685, allocations: 172.5 kB / 0.8441 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.0097, allocations: 11.94 kB / 0.8441 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.009722, allocations: 4 kB / 0.8441 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.009798, allocations: 19.92 kB / 0.8441 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.009902, allocations: 35.95 kB / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.009912, allocations: 0 / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.009945, allocations: 40.17 kB / 0.8442 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009945, allocations: 0 / 0.8442 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001859/0.01013, allocations: 24 kB / 0.8442 GB, free: 8.066 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,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.0001121/0.01024, allocations: 80.42 kB / 0.8443 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.01049, allocations: 268.7 kB / 0.8446 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.0105, allocations: 4 kB / 0.8446 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.01062, allocations: 133.9 kB / 0.8447 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.01078, allocations: 21.73 kB / 0.8447 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.0114, allocations: 245.4 kB / 0.8449 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.01144, allocations: 59.34 kB / 0.845 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.469e-05/0.01149, allocations: 11.98 kB / 0.845 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.01161, allocations: 79.36 kB / 0.8451 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.01161, allocations: 0 / 0.8451 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of Templates: time 0.005073/0.01669, allocations: 2.107 MB / 0.8471 GB, free: 4.965 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.290701386984438]