Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.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.001341/0.001341, 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.001612/0.001612, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.411/1.411, allocations: 225.6 MB / 251 MB, free: 13.03 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.107/3.107, allocations: 496 MB / 0.7835 GB, free: 33.36 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime")
translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.55 kB / 1.138 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001833/0.3587, allocations: 0.5951 MB / 1.308 GB, free: 1.211 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 4.54e-05/0.3587, allocations: 7.938 kB / 1.308 GB, free: 1.203 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.3587, allocations: 0 / 1.308 GB, free: 1.203 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3587, allocations: 0 / 1.308 GB, free: 1.203 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.3588, allocations: 0 / 1.308 GB, free: 1.203 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 4.005e-05/0.3588, allocations: 4 kB / 1.308 GB, free: 1.199 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.3589, allocations: 0 / 1.308 GB, free: 1.199 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.3589, allocations: 8.391 kB / 1.308 GB, free: 1.191 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.3589, allocations: 0 / 1.308 GB, free: 1.191 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.855e-05/0.3589, allocations: 0 / 1.308 GB, free: 1.191 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.359, allocations: 0 / 1.308 GB, free: 1.191 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.226e-06/0.359, allocations: 4 kB / 1.308 GB, free: 1.188 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.359, allocations: 7.922 kB / 1.308 GB, free: 1.18 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.359, allocations: 0 / 1.308 GB, free: 1.18 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 5.266e-05/0.359, allocations: 0 / 1.308 GB, free: 1.18 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.359, allocations: 0 / 1.308 GB, free: 1.18 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.944e-06/0.359, allocations: 0 / 1.308 GB, free: 1.18 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 1.093e-05/0.3591, allocations: 4 kB / 1.308 GB, free: 1.176 MB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.000297/0.3594, allocations: 234.4 kB / 1.308 GB, free: 0.9141 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3594, allocations: 12.95 kB / 1.308 GB, free: 0.9023 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.3594, allocations: 4.922 kB / 1.308 GB, free: 0.8984 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.3595, allocations: 110.5 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3595, allocations: 4.312 kB / 1.308 GB, free: 0.7617 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3595, allocations: 384 / 1.308 GB, free: 0.7617 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.699e-05/0.3596, allocations: 30.27 kB / 1.308 GB, free: 0.7266 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3596, allocations: 192 / 1.308 GB, free: 0.7266 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3596, allocations: 3.938 kB / 1.308 GB, free: 0.7227 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3596, allocations: 0 / 1.308 GB, free: 0.7227 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.435e-05/0.3597, allocations: 0 / 1.308 GB, free: 0.7227 MB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.3598, allocations: 120.8 kB / 1.308 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.774e-05/0.3598, allocations: 26.5 kB / 1.308 GB, free: 0.5273 MB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.3599, allocations: 8.953 kB / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.3599, allocations: 0 / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3599, allocations: 30.56 kB / 1.308 GB, free: 488 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.3599, allocations: 0 / 1.308 GB, free: 488 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=1): time 0.0001186/0.36, allocations: 37.64 kB / 1.308 GB, free: 444 kB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.3601, allocations: 59.53 kB / 1.309 GB, free: 372 kB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.204e-05/0.3601, allocations: 89.86 kB / 1.309 GB, free: 272 kB / 0.9981 GB
Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3601, allocations: 25.7 kB / 1.309 GB, free: 240 kB / 0.9981 GB
Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.3602, allocations: 88.02 kB / 1.309 GB, free: 148 kB / 0.9981 GB
Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.3602, allocations: 0 / 1.309 GB, free: 148 kB / 0.9981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.3602, allocations: 13.7 kB / 1.309 GB, free: 128 kB / 0.9981 GB
Notification: Performance of setup shared object (initialization): time 0.0001483/0.3604, allocations: 318.8 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.3604, allocations: 3.938 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.3604, allocations: 4 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.3604, allocations: 8.859 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3604, allocations: 4 kB / 1.309 GB, free: 15.78 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 4.842e-05/0.3604, allocations: 29.7 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3605, allocations: 4 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3605, allocations: 4 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3605, allocations: 3.938 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.3605, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3605, allocations: 3.984 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-06/0.3605, allocations: 4.094 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.3606, allocations: 3.938 kB / 1.309 GB, free: 15.72 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 (1):
 * Single equations (assignments): 1
 * 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 7.729e-05/0.3606, allocations: 117.8 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-06/0.3606, allocations: 0 / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.3607, allocations: 6.938 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3607, allocations: 3.984 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3607, allocations: 0 / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3607, allocations: 0 / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.884e-05/0.3607, allocations: 120.8 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3607, allocations: 4 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-06/0.3608, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.3608, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3608, allocations: 3.938 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3608, allocations: 4 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3608, allocations: 0 / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.824e-05/0.3608, allocations: 53.14 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.3608, allocations: 3.984 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3609, allocations: 11.97 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-06/0.3609, allocations: 0 / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.3609, allocations: 3.938 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.3609, allocations: 0 / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.134e-05/0.3609, allocations: 75.28 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3609, allocations: 3.938 kB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001756/0.3611, allocations: 0 / 1.31 GB, free: 15.25 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 1
 * 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.0001066/0.3612, allocations: 100 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.404e-05/0.3613, allocations: 4 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3613, allocations: 4 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.119e-06/0.3613, allocations: 0 / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.3614, allocations: 6.578 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.3616, allocations: 84.86 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3619, allocations: 0.669 MB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.167e-05/0.3619, allocations: 3.938 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.3619, allocations: 7.438 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of SimCode: time 3.41e-07/0.3619, allocations: 4.125 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of Templates: time 0.002253/0.3642, allocations: 173.1 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.ModelTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.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.7283174386248]