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.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.001798/0.001798, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002135/0.002135, allocations: 191.5 kB / 22.11 MB, free: 4.223 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.513/1.513, allocations: 225.6 MB / 250.8 MB, free: 2.93 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.126/3.126, allocations: 495.8 MB / 0.7831 GB, free: 12.34 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.88 kB / 1.137 GB, free: 10.23 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 173.6 MB / 1.307 GB, free: 0.9336 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003462/1.11, allocations: 1.497 MB / 1.308 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001025/1.111, allocations: 478.5 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/1.111, allocations: 1.531 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001177/1.111, allocations: 9.047 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.492e-05/1.111, allocations: 16.02 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002637/1.111, allocations: 33.09 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002226/1.111, allocations: 109.1 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/1.112, allocations: 10.2 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/1.112, allocations: 47.45 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/1.112, allocations: 47.61 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.351e-05/1.112, allocations: 7.594 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.568e-05/1.112, allocations: 8.5 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 5.529e-05/1.112, allocations: 11.09 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001016/1.112, allocations: 51.94 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002048/1.112, allocations: 81.09 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.112, allocations: 0 / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.054e-06/1.112, allocations: 4 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.631e-06/1.112, allocations: 1.094 kB / 1.309 GB, free: 15.36 MB / 1.014 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.0008836/1.113, allocations: 373.5 kB / 1.309 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.113, allocations: 9.656 kB / 1.309 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/1.113, allocations: 10.88 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/1.113, allocations: 133.7 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.113, allocations: 7.406 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/1.114, allocations: 7.188 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/1.114, allocations: 124.9 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.114, allocations: 1.469 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/1.114, allocations: 2.047 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.114, allocations: 1.219 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/1.114, allocations: 85.88 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/1.115, allocations: 306.4 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/1.115, allocations: 98.95 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/1.115, allocations: 67.64 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/1.115, allocations: 4.688 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/1.116, allocations: 129.1 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=6): time 1.493e-06/1.116, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.0008102/1.117, allocations: 276 kB / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/1.117, allocations: 90.52 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.117, allocations: 127.9 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.823e-05/1.117, allocations: 29.95 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/1.117, allocations: 97.06 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/1.117, allocations: 21.17 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/1.117, allocations: 31.12 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001673/1.117, allocations: 324 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/1.118, allocations: 70.45 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/1.118, allocations: 64.03 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/1.118, allocations: 185.5 kB / 1.312 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.118, allocations: 0.8125 kB / 1.312 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005677/1.119, allocations: 259.9 kB / 1.312 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/1.119, allocations: 69.61 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.119, allocations: 1.25 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.119, allocations: 0 / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/1.119, allocations: 14.25 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.119, allocations: 1.188 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/1.119, allocations: 23.91 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/1.119, allocations: 4.156 kB / 1.312 GB, free: 13.19 MB / 1.014 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.0001651/1.119, allocations: 169 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/1.119, allocations: 9.453 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/1.119, allocations: 10.83 kB / 1.312 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.119, allocations: 0.875 kB / 1.312 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.119, allocations: 1.938 kB / 1.312 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.119, allocations: 0 / 1.312 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/1.12, allocations: 168.1 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.12, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/1.12, allocations: 12.36 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.12, allocations: 1.125 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/1.12, allocations: 7.156 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.12, allocations: 0.5625 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.12, allocations: 5.344 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/1.12, allocations: 253.1 kB / 1.313 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/1.12, allocations: 3.984 kB / 1.313 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/1.12, allocations: 11.5 kB / 1.313 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/1.12, allocations: 18.78 kB / 1.313 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.121, allocations: 37.38 kB / 1.313 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/1.121, allocations: 4.203 kB / 1.313 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.079e-05/1.121, allocations: 102 kB / 1.313 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.121, allocations: 0 / 1.313 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002177/1.121, allocations: 30.72 kB / 1.313 GB, free: 12.57 MB / 1.014 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.0001594/1.121, allocations: 106.2 kB / 1.313 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005818/1.122, allocations: 250.8 kB / 1.313 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.122, allocations: 3.938 kB / 1.313 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002929/1.122, allocations: 135.7 kB / 1.313 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/1.122, allocations: 20.61 kB / 1.313 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/1.123, allocations: 223.5 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/1.123, allocations: 0.6887 MB / 1.314 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.219e-05/1.123, allocations: 8.578 kB / 1.314 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/1.123, allocations: 16.27 kB / 1.314 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of SimCode: time 6.51e-07/1.123, allocations: 0 / 1.314 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of Templates: time 0.005596/1.129, allocations: 1.943 MB / 1.316 GB, free: 10.61 MB / 1.014 GB
"
[Timeout remaining time 299]
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=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.713777557946742]