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.001435/0.001435, allocations: 80.8 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.001511/0.001511, allocations: 161 kB / 24.16 MB, free: 332 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 0.9958/0.9958, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.897/1.897, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.763e-06/1.763e-06, allocations: 3.938 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.731e-05, allocations: 5.406 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001817/0.001834, allocations: 1.539 MB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.002581, allocations: 0.5128 MB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.002641, allocations: 3.938 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.114e-05/0.002732, allocations: 9.438 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.002788, allocations: 16.78 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.003012, allocations: 45.45 kB / 0.762 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.003151, allocations: 113.9 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.00322, allocations: 12.7 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.003374, allocations: 72.42 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.003436, allocations: 31.95 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.003457, allocations: 8.906 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.003493, allocations: 12 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.003565, allocations: 12.45 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.003639, allocations: 41.97 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.003831, allocations: 75.78 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.003834, allocations: 0 / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003835, allocations: 0 / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.003839, allocations: 0 / 0.7624 GB, free: 4.176 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.0005829/0.004422, allocations: 350.1 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.004471, allocations: 12.03 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.004584, allocations: 16.92 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.004713, allocations: 133.7 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004722, allocations: 4.375 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.004737, allocations: 9.812 kB / 0.7629 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.004879, allocations: 136.5 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004886, allocations: 4.172 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.004896, allocations: 9.375 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.004899, allocations: 0 / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.004947, allocations: 53.69 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.005176, allocations: 188 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.102e-05/0.005257, allocations: 77.23 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.005297, allocations: 62.67 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.005307, allocations: 0 / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.005432, allocations: 117.7 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.005433, allocations: 1.781 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001671/0.0056, allocations: 194.7 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.005636, allocations: 85.11 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.005701, allocations: 133 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.005716, allocations: 33.64 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.005751, allocations: 97.12 kB / 0.764 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.005765, allocations: 19.83 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.005802, allocations: 29.7 kB / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.005868, allocations: 323.8 kB / 0.7644 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.005914, allocations: 83.38 kB / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/0.005957, allocations: 80.33 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.006034, allocations: 136.7 kB / 0.7647 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006035, allocations: 3.938 kB / 0.7647 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001197/0.006155, allocations: 201.2 kB / 0.7649 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.006187, allocations: 67.39 kB / 0.7649 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.00619, allocations: 0.75 kB / 0.7649 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.006201, allocations: 0 / 0.7649 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.006261, allocations: 16.48 kB / 0.765 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.006263, allocations: 0.5 kB / 0.765 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.006323, allocations: 23.42 kB / 0.765 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.006333, allocations: 4 kB / 0.765 GB, free: 1.234 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.59e-05/0.006409, allocations: 154.3 kB / 0.7651 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.006424, allocations: 15.94 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.006448, allocations: 16.77 kB / 0.7652 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006449, allocations: 0 / 0.7652 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.006451, allocations: 256 / 0.7652 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006454, allocations: 0 / 0.7652 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.303e-05/0.006517, allocations: 84.38 kB / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006518, allocations: 0 / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.006543, allocations: 11.98 kB / 0.7653 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.006544, allocations: 0 / 0.7653 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.006552, allocations: 4 kB / 0.7653 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006554, allocations: 3.938 kB / 0.7653 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006555, allocations: 0.8125 kB / 0.7653 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.006672, allocations: 176.4 kB / 0.7654 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.006683, allocations: 13.16 kB / 0.7655 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.006699, allocations: 4 kB / 0.7655 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.006743, allocations: 23.91 kB / 0.7655 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.006814, allocations: 32.78 kB / 0.7655 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.006821, allocations: 4 kB / 0.7655 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.92e-05/0.00684, allocations: 31.06 kB / 0.7655 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.00684, allocations: 0 / 0.7655 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001077/0.006948, allocations: 28 kB / 0.7656 GB, free: 0.582 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.643e-05/0.007014, allocations: 80.41 kB / 0.7656 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.007179, allocations: 272.7 kB / 0.7659 GB, free: 188 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.007182, allocations: 2.75 kB / 0.7659 GB, free: 188 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.007259, allocations: 129.9 kB / 0.766 GB, free: 36 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.19e-05/0.007351, allocations: 12 kB / 0.766 GB, free: 24 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.007769, allocations: 246.8 kB / 0.7663 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.472e-05/0.007794, allocations: 59.34 kB / 0.7663 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.007821, allocations: 10.83 kB / 0.7663 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.007907, allocations: 87.2 kB / 0.7664 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/0.007907, allocations: 0 / 0.7664 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.003221/0.01113, allocations: 2.1 MB / 0.7685 GB, free: 13.58 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 -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: 4.883478708565235]