Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001673/0.001673, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00184/0.00184, allocations: 191.1 kB / 22.23 MB, free: 5.102 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.494/1.494, allocations: 225.6 MB / 251 MB, free: 13.04 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.373/3.373, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 69.64 kB / 1.145 GB, free: 30.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4246, allocations: 174.9 MB / 1.316 GB, free: 9.777 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002014/0.4267, allocations: 0.6011 MB / 1.317 GB, free: 9.18 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001491/0.4281, allocations: 1.124 MB / 1.318 GB, free: 8.043 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.4282, allocations: 4 kB / 1.318 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.4282, allocations: 0 / 1.318 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.4282, allocations: 7.922 kB / 1.318 GB, free: 8.031 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.4287, allocations: 119.7 kB / 1.318 GB, free: 7.914 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001408/0.4288, allocations: 83.83 kB / 1.318 GB, free: 7.832 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.4289, allocations: 8 kB / 1.318 GB, free: 7.824 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.287e-05/0.429, allocations: 35.97 kB / 1.318 GB, free: 7.789 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.429, allocations: 35.83 kB / 1.318 GB, free: 7.754 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.4291, allocations: 8 kB / 1.318 GB, free: 7.746 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.4291, allocations: 27.92 kB / 1.318 GB, free: 7.719 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.4291, allocations: 0 / 1.318 GB, free: 7.719 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.4292, allocations: 35.91 kB / 1.318 GB, free: 7.684 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.4294, allocations: 87.72 kB / 1.318 GB, free: 7.598 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4294, allocations: 4 kB / 1.318 GB, free: 7.594 MB / 1.014 GB
Notification: Performance of FrontEnd: time 9.11e-07/0.4294, allocations: 0 / 1.318 GB, free: 7.594 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 3.777e-06/0.4294, allocations: 4 kB / 1.318 GB, free: 7.59 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.0004043/0.4298, allocations: 300 kB / 1.318 GB, free: 7.258 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4298, allocations: 8.031 kB / 1.318 GB, free: 7.25 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4299, allocations: 8.922 kB / 1.318 GB, free: 7.242 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.43, allocations: 106.5 kB / 1.319 GB, free: 7.113 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.43, allocations: 384 / 1.319 GB, free: 7.113 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.43, allocations: 4.375 kB / 1.319 GB, free: 7.109 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.925e-05/0.4301, allocations: 42.25 kB / 1.319 GB, free: 7.062 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4301, allocations: 192 / 1.319 GB, free: 7.062 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.4301, allocations: 11.88 kB / 1.319 GB, free: 7.051 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.4301, allocations: 0 / 1.319 GB, free: 7.051 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.4301, allocations: 4 kB / 1.319 GB, free: 7.047 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.4305, allocations: 259.9 kB / 1.319 GB, free: 6.75 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.011e-05/0.4305, allocations: 22.52 kB / 1.319 GB, free: 6.719 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.4305, allocations: 8.859 kB / 1.319 GB, free: 6.707 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.4305, allocations: 0 / 1.319 GB, free: 6.707 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.4307, allocations: 67.39 kB / 1.319 GB, free: 6.629 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4307, allocations: 0 / 1.319 GB, free: 6.629 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.000159/0.4308, allocations: 57.69 kB / 1.319 GB, free: 6.566 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4309, allocations: 55.41 kB / 1.319 GB, free: 6.5 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.431, allocations: 105.8 kB / 1.319 GB, free: 6.387 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.431, allocations: 29.7 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.431, allocations: 84.09 kB / 1.319 GB, free: 6.266 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.431, allocations: 15.94 kB / 1.319 GB, free: 6.25 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.4311, allocations: 33.62 kB / 1.319 GB, free: 6.211 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001329/0.4312, allocations: 314.8 kB / 1.32 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.4313, allocations: 27.98 kB / 1.32 GB, free: 5.867 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.4314, allocations: 46.56 kB / 1.32 GB, free: 5.812 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4315, allocations: 84.27 kB / 1.32 GB, free: 5.715 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4315, allocations: 3.938 kB / 1.32 GB, free: 5.711 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002583/0.4318, allocations: 147.2 kB / 1.32 GB, free: 5.555 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.4318, allocations: 41.69 kB / 1.32 GB, free: 5.508 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.4318, allocations: 0 / 1.32 GB, free: 5.508 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.4318, allocations: 3.938 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.198e-05/0.4318, allocations: 4 kB / 1.32 GB, free: 5.5 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.4318, allocations: 320 / 1.32 GB, free: 5.5 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.432, allocations: 32 kB / 1.32 GB, free: 5.469 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4321, allocations: 11.98 kB / 1.32 GB, free: 5.457 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.592e-05/0.4322, allocations: 118.3 kB / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.4322, allocations: 4 kB / 1.32 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.4322, allocations: 4 kB / 1.32 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.4322, allocations: 240 / 1.32 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4322, allocations: 0 / 1.32 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4322, allocations: 3.984 kB / 1.32 GB, free: 5.309 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.4323, allocations: 148.7 kB / 1.32 GB, free: 5.121 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4323, allocations: 0 / 1.32 GB, free: 5.121 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.4323, allocations: 0 / 1.32 GB, free: 5.121 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4323, allocations: 0 / 1.32 GB, free: 5.121 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.4323, allocations: 4 kB / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4323, allocations: 0 / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4323, allocations: 0 / 1.32 GB, free: 5.117 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.4325, allocations: 88.94 kB / 1.32 GB, free: 5.012 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.4325, allocations: 4 kB / 1.32 GB, free: 5.008 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.4325, allocations: 4 kB / 1.32 GB, free: 5.004 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.4325, allocations: 0 / 1.32 GB, free: 5.004 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.4325, allocations: 0 / 1.32 GB, free: 5.004 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.4325, allocations: 4 kB / 1.32 GB, free: 5 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.191e-05/0.4326, allocations: 87.27 kB / 1.32 GB, free: 4.914 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4326, allocations: 0 / 1.32 GB, free: 4.914 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002103/0.4328, allocations: 16 kB / 1.32 GB, free: 4.898 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.0001343/0.4329, allocations: 99.19 kB / 1.321 GB, free: 4.793 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002267/0.4332, allocations: 115.3 kB / 1.321 GB, free: 4.668 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4332, allocations: 0 / 1.321 GB, free: 4.668 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.4332, allocations: 12 kB / 1.321 GB, free: 4.656 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.4334, allocations: 7.938 kB / 1.321 GB, free: 4.648 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.4337, allocations: 118.2 kB / 1.321 GB, free: 4.508 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.434, allocations: 0.6847 MB / 1.321 GB, free: 3.797 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.942e-05/0.434, allocations: 8 kB / 1.321 GB, free: 3.789 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.434, allocations: 7.438 kB / 1.321 GB, free: 3.781 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.434, allocations: 0 / 1.321 GB, free: 3.781 MB / 1.014 GB
Notification: Performance of Templates: time 0.003726/0.4377, allocations: 1.092 MB / 1.323 GB, free: 2.707 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.587010758928955]