Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.001827/0.001827, allocations: 110 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.002135/0.002135, allocations: 193.2 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.524/1.524, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.295/3.295, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 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-master/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.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.14 kB / 1.145 GB, free: 30.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.441, allocations: 174.9 MB / 1.316 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.003183/0.4442, allocations: 1.113 MB / 1.317 GB, free: 8.711 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001792/0.446, allocations: 0.9675 MB / 1.318 GB, free: 7.73 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.4461, allocations: 4 kB / 1.318 GB, free: 7.727 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 8.059e-05/0.4462, allocations: 19.75 kB / 1.318 GB, free: 7.707 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.4464, allocations: 43.58 kB / 1.318 GB, free: 7.664 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.4468, allocations: 63.92 kB / 1.318 GB, free: 7.602 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004285/0.4472, allocations: 231.3 kB / 1.318 GB, free: 7.375 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.4474, allocations: 64.89 kB / 1.319 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.4476, allocations: 95.69 kB / 1.319 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.4478, allocations: 103.5 kB / 1.319 GB, free: 7.113 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.4479, allocations: 24 kB / 1.319 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.146e-05/0.4479, allocations: 20 kB / 1.319 GB, free: 7.07 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.448, allocations: 51.77 kB / 1.319 GB, free: 7.02 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.000142/0.4481, allocations: 87.47 kB / 1.319 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.4485, allocations: 215.1 kB / 1.319 GB, free: 6.723 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4485, allocations: 4 kB / 1.319 GB, free: 6.719 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.4485, allocations: 4 kB / 1.319 GB, free: 6.715 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.044e-06/0.4485, allocations: 0 / 1.319 GB, free: 6.715 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: 32
 * Number of variables: 32
Notification: Performance of Generate backend data structure: time 0.001524/0.45, allocations: 493.2 kB / 1.32 GB, free: 6.199 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4501, allocations: 15.97 kB / 1.32 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.64e-05/0.4502, allocations: 20.8 kB / 1.32 GB, free: 6.164 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.4505, allocations: 170.2 kB / 1.32 GB, free: 5.973 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4505, allocations: 8.375 kB / 1.32 GB, free: 5.965 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.4506, allocations: 24.36 kB / 1.32 GB, free: 5.941 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/0.4514, allocations: 246.4 kB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4514, allocations: 192 / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.4514, allocations: 11.94 kB / 1.32 GB, free: 5.684 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4514, allocations: 4 kB / 1.32 GB, free: 5.68 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.4524, allocations: 291.6 kB / 1.32 GB, free: 5.395 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/0.4532, allocations: 463.4 kB / 1.321 GB, free: 4.898 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.4539, allocations: 238.3 kB / 1.321 GB, free: 4.656 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.4545, allocations: 180.7 kB / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.4546, allocations: 4 kB / 1.321 GB, free: 4.473 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.4546, allocations: 38.56 kB / 1.321 GB, free: 4.426 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.4546, allocations: 0 / 1.321 GB, free: 4.426 MB / 1.014 GB
Notification: Performance of matching and sorting (n=17): time 0.001835/0.4565, allocations: 0.4954 MB / 1.322 GB, free: 3.926 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.4565, allocations: 51.41 kB / 1.322 GB, free: 3.863 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.4567, allocations: 178.2 kB / 1.322 GB, free: 3.68 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.4567, allocations: 37.64 kB / 1.322 GB, free: 3.637 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4569, allocations: 132.4 kB / 1.322 GB, free: 3.504 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.4569, allocations: 59.44 kB / 1.322 GB, free: 3.445 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.457, allocations: 33.7 kB / 1.322 GB, free: 3.406 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001729/0.4572, allocations: 326.8 kB / 1.322 GB, free: 3.078 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.4577, allocations: 147.8 kB / 1.323 GB, free: 2.934 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.4583, allocations: 178.3 kB / 1.323 GB, free: 2.75 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.4593, allocations: 294.5 kB / 1.323 GB, free: 2.461 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.4593, allocations: 0 / 1.323 GB, free: 2.461 MB / 1.014 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.001159/0.4605, allocations: 371.4 kB / 1.323 GB, free: 2.094 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4605, allocations: 4 kB / 1.323 GB, free: 2.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4605, allocations: 3.938 kB / 1.323 GB, free: 2.086 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.4605, allocations: 3.938 kB / 1.323 GB, free: 2.082 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.461, allocations: 75.91 kB / 1.323 GB, free: 2.008 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.461, allocations: 4 kB / 1.323 GB, free: 2.004 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.4612, allocations: 63.81 kB / 1.324 GB, free: 1.941 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.4613, allocations: 4 kB / 1.324 GB, free: 1.938 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (18):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0001432/0.4614, allocations: 126.4 kB / 1.324 GB, free: 1.805 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.4615, allocations: 15.91 kB / 1.324 GB, free: 1.789 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.4615, allocations: 29.75 kB / 1.324 GB, free: 1.758 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.4615, allocations: 0 / 1.324 GB, free: 1.758 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.4615, allocations: 7.984 kB / 1.324 GB, free: 1.75 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4615, allocations: 3.984 kB / 1.324 GB, free: 1.746 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.4619, allocations: 244.5 kB / 1.324 GB, free: 1.465 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4619, allocations: 0 / 1.324 GB, free: 1.465 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.4623, allocations: 75.91 kB / 1.324 GB, free: 1.391 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4623, allocations: 7.938 kB / 1.324 GB, free: 1.383 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.4623, allocations: 7.938 kB / 1.324 GB, free: 1.375 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.4623, allocations: 7.938 kB / 1.324 GB, free: 1.367 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4623, allocations: 4 kB / 1.324 GB, free: 1.363 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.4641, allocations: 0.6257 MB / 1.325 GB, free: 0.7227 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.4642, allocations: 23.83 kB / 1.325 GB, free: 0.6992 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.4642, allocations: 3.938 kB / 1.325 GB, free: 0.6953 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.4645, allocations: 55.98 kB / 1.325 GB, free: 0.6406 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4646, allocations: 27.95 kB / 1.325 GB, free: 0.6133 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.4646, allocations: 4 kB / 1.325 GB, free: 0.6094 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001206/0.4647, allocations: 124.4 kB / 1.325 GB, free: 500 kB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4647, allocations: 0 / 1.325 GB, free: 500 kB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002679/0.465, allocations: 36 kB / 1.325 GB, free: 464 kB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (sleRatLim.y)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (17):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0001773/0.4652, allocations: 111.2 kB / 1.325 GB, free: 340 kB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001164/0.4664, allocations: 307.7 kB / 1.325 GB, free: 32 kB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4664, allocations: 0 / 1.325 GB, free: 32 kB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.4669, allocations: 171.8 kB / 1.326 GB, free: 15.86 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.4674, allocations: 41 kB / 1.326 GB, free: 15.82 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/0.4682, allocations: 380.4 kB / 1.326 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.4686, allocations: 0.7317 MB / 1.327 GB, free: 14.67 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 9.237e-05/0.4687, allocations: 9.094 kB / 1.327 GB, free: 14.66 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.4688, allocations: 23.42 kB / 1.327 GB, free: 14.64 MB / 1.029 GB
Notification: Performance of SimCode: time 4.01e-07/0.4688, allocations: 0 / 1.327 GB, free: 14.64 MB / 1.029 GB
Notification: Performance of Templates: time 0.007116/0.4759, allocations: 2.807 MB / 1.329 GB, free: 11.86 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.601980005390942]