Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.002174/0.002174, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002411/0.002411, allocations: 192.5 kB / 22.23 MB, free: 5.156 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.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.89 kB / 1.109 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8557/0.8577, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003075/0.8608, allocations: 1.487 MB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.8617, allocations: 474.9 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.8618, allocations: 0 / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.8619, allocations: 11.86 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.8619, allocations: 11.88 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.8622, allocations: 35.95 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.8624, allocations: 103.7 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.8625, allocations: 12.17 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.8626, allocations: 43.91 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.8627, allocations: 51.77 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.8627, allocations: 8 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.8628, allocations: 8 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.8628, allocations: 19.97 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.721e-05/0.8629, allocations: 39.8 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.8631, allocations: 82.09 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8631, allocations: 0 / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8631, allocations: 0 / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.8631, allocations: 0 / 1.277 GB, free: 1.844 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008412/0.8639, allocations: 381.4 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.864, allocations: 8.031 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.864, allocations: 12.89 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.8642, allocations: 134.4 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.8643, allocations: 4.375 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.8643, allocations: 4.375 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.8646, allocations: 129.6 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8647, allocations: 0 / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.8647, allocations: 4 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.8647, allocations: 4 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.865, allocations: 83.92 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.8656, allocations: 311.8 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.866, allocations: 106.4 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.8662, allocations: 66.52 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.8662, allocations: 3.984 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/0.8666, allocations: 123.3 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.8666, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.000796/0.8674, allocations: 271.2 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.8675, allocations: 89.09 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.8677, allocations: 133.8 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.8677, allocations: 29.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.8678, allocations: 100.1 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.8678, allocations: 15.84 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.8679, allocations: 33.7 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.8681, allocations: 322.8 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.8683, allocations: 67.95 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.8685, allocations: 59.95 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.8689, allocations: 189.9 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8689, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005589/0.8694, allocations: 257 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.8695, allocations: 71.33 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8695, allocations: 0 / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8695, allocations: 0 / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.8697, allocations: 19.98 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.8697, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.8698, allocations: 15.98 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.8699, allocations: 11.98 kB / 1.28 GB, free: 14.59 MB / 0.9825 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.0001515/0.87, allocations: 155.4 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.87, allocations: 11.95 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.8701, allocations: 16.36 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.8701, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.8701, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8701, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.8703, allocations: 168.6 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8703, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.8704, allocations: 11.98 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8704, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8704, allocations: 4.25 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8704, allocations: 3.938 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8704, allocations: 4 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.8709, allocations: 254.6 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.871, allocations: 0 / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.871, allocations: 11.98 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.8711, allocations: 15.98 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.8713, allocations: 40.03 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.8713, allocations: 11.98 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.558e-05/0.8714, allocations: 101.9 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8714, allocations: 0 / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000223/0.8716, allocations: 27.89 kB / 1.28 GB, free: 13.68 MB / 0.9825 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.000127/0.8718, allocations: 107.2 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.8723, allocations: 250.7 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8723, allocations: 7.938 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.8726, allocations: 123.4 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.8729, allocations: 19.92 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.8734, allocations: 219.4 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.8738, allocations: 0.6963 MB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.278e-05/0.8739, allocations: 7.984 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.8739, allocations: 11.44 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.8739, allocations: 0 / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of Templates: time 0.005339/0.8792, allocations: 1.942 MB / 1.284 GB, free: 10.21 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.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: 8.973309296183288]