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.001308/0.001308, 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.001454/0.001454, allocations: 189.5 kB / 22.1 MB, free: 5.152 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.439/1.439, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.211/3.211, allocations: 495.8 MB / 0.783 GB, free: 33.5 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.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.002113/0.002113, allocations: 63.22 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3753, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001832/0.3771, allocations: 0.6082 MB / 1.307 GB, free: 1.285 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 4.391e-05/0.3772, allocations: 0 / 1.307 GB, free: 1.285 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.3772, allocations: 0 / 1.307 GB, free: 1.285 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.3772, allocations: 0 / 1.307 GB, free: 1.285 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.683e-06/0.3772, allocations: 0 / 1.307 GB, free: 1.285 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 4.304e-05/0.3773, allocations: 7.938 kB / 1.307 GB, free: 1.277 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.3773, allocations: 4 kB / 1.307 GB, free: 1.273 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.3774, allocations: 4.391 kB / 1.307 GB, free: 1.27 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/0.3774, allocations: 0 / 1.307 GB, free: 1.27 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.869e-05/0.3774, allocations: 0 / 1.307 GB, free: 1.27 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.3774, allocations: 0 / 1.307 GB, free: 1.27 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.038e-06/0.3774, allocations: 8 kB / 1.307 GB, free: 1.262 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.3774, allocations: 7.922 kB / 1.307 GB, free: 1.254 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.3775, allocations: 0 / 1.307 GB, free: 1.254 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 5.355e-05/0.3775, allocations: 0 / 1.307 GB, free: 1.254 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3775, allocations: 0 / 1.307 GB, free: 1.254 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.044e-06/0.3775, allocations: 0 / 1.307 GB, free: 1.254 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.46e-06/0.3775, allocations: 0 / 1.307 GB, free: 1.254 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.0003246/0.3779, allocations: 246.4 kB / 1.308 GB, free: 0.9805 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3779, allocations: 8.031 kB / 1.308 GB, free: 0.9727 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.3779, allocations: 0.9375 kB / 1.308 GB, free: 0.9727 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.4e-05/0.378, allocations: 114.5 kB / 1.308 GB, free: 0.8359 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.378, allocations: 384 / 1.308 GB, free: 0.8359 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.378, allocations: 384 / 1.308 GB, free: 0.8359 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.3781, allocations: 26.27 kB / 1.308 GB, free: 0.8047 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3781, allocations: 4.188 kB / 1.308 GB, free: 0.8008 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3781, allocations: 3.938 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3782, allocations: 4 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.764e-05/0.3782, allocations: 3.938 kB / 1.308 GB, free: 0.7891 MB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.3783, allocations: 124.8 kB / 1.308 GB, free: 0.625 MB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.3784, allocations: 18.61 kB / 1.308 GB, free: 0.5977 MB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.3784, allocations: 4.859 kB / 1.308 GB, free: 0.5898 MB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.3784, allocations: 4.062 kB / 1.308 GB, free: 0.5859 MB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3784, allocations: 30.56 kB / 1.308 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.3784, allocations: 0 / 1.308 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=1): time 0.0001269/0.3785, allocations: 41.58 kB / 1.308 GB, free: 0.5 MB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3786, allocations: 55.53 kB / 1.308 GB, free: 444 kB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.209e-05/0.3786, allocations: 89.86 kB / 1.308 GB, free: 344 kB / 0.9981 GB
Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3786, allocations: 29.64 kB / 1.308 GB, free: 308 kB / 0.9981 GB
Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.3787, allocations: 80.14 kB / 1.308 GB, free: 224 kB / 0.9981 GB
Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.3787, allocations: 7.938 kB / 1.308 GB, free: 216 kB / 0.9981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.3787, allocations: 13.7 kB / 1.308 GB, free: 196 kB / 0.9981 GB
Notification: Performance of setup shared object (initialization): time 0.0001397/0.3789, allocations: 310.8 kB / 1.308 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.3789, allocations: 4 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-06/0.3789, allocations: 8 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.3789, allocations: 4.859 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3789, allocations: 3.938 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 4.688e-05/0.379, allocations: 33.7 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.379, allocations: 5.719 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.379, allocations: 0 / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.379, allocations: 3.938 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.3791, allocations: 7.984 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3791, allocations: 4.094 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-06/0.3791, allocations: 0 / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.3791, allocations: 0 / 1.309 GB, free: 15.8 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.472e-05/0.3792, allocations: 113.8 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.3792, allocations: 4 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.3792, allocations: 6.938 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.3792, allocations: 0 / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3792, allocations: 0 / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3792, allocations: 3.984 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.666e-05/0.3793, allocations: 120.8 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.3793, allocations: 0 / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.3793, allocations: 4 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3793, allocations: 0 / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.3793, allocations: 3.938 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3793, allocations: 3.938 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3793, allocations: 0 / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.709e-05/0.3794, allocations: 57.14 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.3794, allocations: 8.016 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.3794, allocations: 3.938 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-06/0.3794, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.3794, allocations: 4 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3794, allocations: 4 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.135e-05/0.3794, allocations: 75.28 kB / 1.309 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3794, allocations: 0 / 1.309 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001753/0.3796, allocations: 3.938 kB / 1.309 GB, free: 15.32 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.0001002/0.3797, allocations: 96.05 kB / 1.309 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 8.147e-05/0.3798, allocations: 11.94 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3798, allocations: 0 / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.3798, allocations: 7.938 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3799, allocations: 0 / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.3801, allocations: 80.86 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.3804, allocations: 0.6729 MB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.21e-05/0.3805, allocations: 0 / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.3805, allocations: 11.56 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of SimCode: time 3.81e-07/0.3805, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of Templates: time 0.002071/0.3825, allocations: 172.1 kB / 1.31 GB, free: 14.21 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.871928500011563]