Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001006/0.001006, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001307/0.001307, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.97/1.97, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.144e-05, allocations: 2.844 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002276/0.002297, allocations: 1.59 MB / 0.7616 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.003429, allocations: 0.5206 MB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.003509, allocations: 3.938 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.003642, allocations: 5.453 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.00372, allocations: 18.69 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.004005, allocations: 47.83 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004202, allocations: 108.8 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.004312, allocations: 12.17 kB / 0.7623 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.004533, allocations: 73.02 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.004619, allocations: 31.91 kB / 0.7624 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.004644, allocations: 9.438 kB / 0.7624 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.00471, allocations: 15.98 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.004755, allocations: 8 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.004815, allocations: 39.89 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.004974, allocations: 76.41 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004977, allocations: 0 / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004978, allocations: 0.75 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.004985, allocations: 0 / 0.7625 GB, free: 4.137 MB / 0.7136 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.0004672/0.005452, allocations: 352.7 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.005496, allocations: 8.781 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.005627, allocations: 21.8 kB / 0.7629 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005775, allocations: 133.7 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.005787, allocations: 5.688 kB / 0.763 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.005802, allocations: 8.312 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.005974, allocations: 128.6 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005982, allocations: 0.75 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.005995, allocations: 8.125 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.006001, allocations: 1.156 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.355e-05/0.006054, allocations: 61.61 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.00631, allocations: 184.2 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.006392, allocations: 76.2 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.006441, allocations: 63.91 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006451, allocations: 4 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.006579, allocations: 117 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.00658, allocations: 0.875 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002205/0.006801, allocations: 194.9 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.006848, allocations: 91.84 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.006922, allocations: 130.7 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.006936, allocations: 29.7 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.006979, allocations: 92.08 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.006996, allocations: 23.81 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.007037, allocations: 25.72 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.007131, allocations: 322.8 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.007188, allocations: 82.17 kB / 0.7646 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.007236, allocations: 83.45 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.007319, allocations: 144.7 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007321, allocations: 0 / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001292/0.00745, allocations: 204.4 kB / 0.765 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.007486, allocations: 67.39 kB / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.00749, allocations: 0 / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.0075, allocations: 4 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.007859, allocations: 13.33 kB / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.007863, allocations: 4 kB / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.00792, allocations: 20.58 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.00793, allocations: 3.938 kB / 0.7651 GB, free: 1.188 MB / 0.7136 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 7.58e-05/0.008006, allocations: 156.5 kB / 0.7652 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.008022, allocations: 15.94 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.008044, allocations: 12.77 kB / 0.7653 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008046, allocations: 0 / 0.7653 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.008047, allocations: 4 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.00805, allocations: 2.438 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.002e-05/0.00811, allocations: 77.88 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.008111, allocations: 0 / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.008138, allocations: 11.98 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.008139, allocations: 3.938 kB / 0.7654 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.008147, allocations: 0 / 0.7654 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.008149, allocations: 6.031 kB / 0.7654 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008149, allocations: 4 kB / 0.7654 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.008271, allocations: 172.4 kB / 0.7655 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.008282, allocations: 11.95 kB / 0.7656 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.0083, allocations: 4 kB / 0.7656 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.402e-05/0.008344, allocations: 16.95 kB / 0.7656 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.008424, allocations: 39.94 kB / 0.7656 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.008433, allocations: 8.938 kB / 0.7656 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.084e-05/0.008454, allocations: 26.75 kB / 0.7656 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008454, allocations: 0 / 0.7656 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001058/0.008559, allocations: 26.47 kB / 0.7657 GB, free: 0.543 MB / 0.7136 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 6.881e-05/0.008628, allocations: 84.41 kB / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.008823, allocations: 272.7 kB / 0.766 GB, free: 144 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.008827, allocations: 0 / 0.766 GB, free: 144 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.008924, allocations: 129.9 kB / 0.7661 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.851e-05/0.009023, allocations: 18.75 kB / 0.7662 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.009463, allocations: 244.9 kB / 0.7664 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.009496, allocations: 67.28 kB / 0.7665 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.009525, allocations: 6 kB / 0.7665 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.009619, allocations: 79.34 kB / 0.7665 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of SimCode: time 8.62e-07/0.00962, allocations: 0 / 0.7665 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.003333/0.01295, allocations: 2.104 MB / 0.7686 GB, free: 13.54 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.171261523850262]