Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001749/0.001749, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002148/0.002148, allocations: 189.7 kB / 22.1 MB, free: 5.148 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.546/1.546, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.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.356/3.356, allocations: 495.8 MB / 0.783 GB, free: 33.48 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.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert")
translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 71.11 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3672, allocations: 173.6 MB / 1.307 GB, free: 1.91 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001969/0.3692, allocations: 0.6014 MB / 1.307 GB, free: 1.309 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001546/0.3707, allocations: 1.116 MB / 1.308 GB, free: 184 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.3708, allocations: 4 kB / 1.308 GB, free: 180 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.3708, allocations: 0 / 1.308 GB, free: 180 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.3708, allocations: 11.92 kB / 1.308 GB, free: 168 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.3713, allocations: 122.5 kB / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3715, allocations: 91.88 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.3716, allocations: 7.922 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.3717, allocations: 35.92 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.3718, allocations: 27.95 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.3718, allocations: 8 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.438e-05/0.3719, allocations: 23.98 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.3719, allocations: 7.938 kB / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.372, allocations: 35.91 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.3721, allocations: 71.8 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3721, allocations: 4 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.335e-06/0.3721, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.192e-06/0.3721, allocations: 0 / 1.309 GB, free: 15.74 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: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0005873/0.3727, allocations: 300 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3728, allocations: 8.031 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.3728, allocations: 8.891 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3729, allocations: 110.5 kB / 1.309 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.373, allocations: 8.359 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.373, allocations: 4.375 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3731, allocations: 42.2 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3731, allocations: 4.172 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3731, allocations: 3.938 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3731, allocations: 3.984 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.171e-05/0.3731, allocations: 4 kB / 1.309 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.3735, allocations: 260 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.569e-05/0.3736, allocations: 30.45 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.3736, allocations: 4.859 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.3736, allocations: 0 / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3738, allocations: 63.41 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3738, allocations: 0 / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0001963/0.374, allocations: 65.62 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.374, allocations: 63.33 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.3741, allocations: 101.9 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3741, allocations: 29.7 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.3742, allocations: 92.11 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.3742, allocations: 7.953 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.3743, allocations: 29.7 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001435/0.3744, allocations: 314.8 kB / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.3745, allocations: 31.98 kB / 1.31 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.3746, allocations: 50.55 kB / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3747, allocations: 76.22 kB / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3747, allocations: 3.938 kB / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002596/0.375, allocations: 151.2 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.375, allocations: 33.8 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.375, allocations: 4 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3751, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.698e-05/0.3751, allocations: 4 kB / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3751, allocations: 0 / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3753, allocations: 35.89 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.3753, allocations: 4 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 1
 * 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 9.763e-05/0.3754, allocations: 118.5 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.3754, allocations: 8 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.3754, allocations: 11.94 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3754, allocations: 0 / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3754, allocations: 0 / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.3755, allocations: 3.984 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.3756, allocations: 132.7 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3756, allocations: 0 / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.3756, allocations: 3.938 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3756, allocations: 0 / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.3756, allocations: 4 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3756, allocations: 320 / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3756, allocations: 4 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.3757, allocations: 93.22 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.3757, allocations: 4 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.3757, allocations: 0 / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.3758, allocations: 0 / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.3758, allocations: 11.98 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3758, allocations: 0 / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.814e-05/0.3758, allocations: 83.28 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3758, allocations: 0 / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002152/0.3761, allocations: 20 kB / 1.311 GB, free: 13.03 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: 3 ($whenCondition1,$whenCondition2,booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001714/0.3762, allocations: 103.2 kB / 1.311 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000222/0.3765, allocations: 107.3 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3765, allocations: 4 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.691e-05/0.3765, allocations: 4 kB / 1.311 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.3767, allocations: 22.3 kB / 1.311 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.377, allocations: 122.1 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3774, allocations: 0.6807 MB / 1.312 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.85e-05/0.3774, allocations: 0 / 1.312 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.3774, allocations: 11.44 kB / 1.312 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of SimCode: time 3.7e-07/0.3774, allocations: 0 / 1.312 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of Templates: time 0.004353/0.3818, allocations: 1.079 MB / 1.313 GB, free: 10.84 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.578335053287446]