Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001371/0.001371, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001494/0.001494, allocations: 185.6 kB / 22.23 MB, free: 5.133 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.427/1.427, 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-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.184/3.184, allocations: 496 MB / 0.7835 GB, free: 33.54 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.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule")
translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 66.25 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003126/0.3651, allocations: 1.52 MB / 1.309 GB, free: 308 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001776/0.3669, allocations: 1.2 MB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.3669, allocations: 4 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.3671, allocations: 15.84 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.3673, allocations: 47.78 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.3675, allocations: 57.11 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002796/0.3678, allocations: 143.6 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3679, allocations: 41.22 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.368, allocations: 79.7 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3682, allocations: 55.77 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.3682, allocations: 12 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.3683, allocations: 27.98 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.3684, allocations: 55.83 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.3685, allocations: 79.56 kB / 1.311 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.3688, allocations: 195.2 kB / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3688, allocations: 0 / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.273e-06/0.3688, allocations: 0 / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.731e-06/0.3688, allocations: 0 / 1.311 GB, free: 14.29 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0007271/0.3695, allocations: 421.3 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3696, allocations: 8.031 kB / 1.311 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.3696, allocations: 32.78 kB / 1.311 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.37, allocations: 198 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.3702, allocations: 119.4 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.3702, allocations: 4.375 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.3705, allocations: 165.6 kB / 1.312 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3705, allocations: 0 / 1.312 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.3706, allocations: 8 kB / 1.312 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.3706, allocations: 11.98 kB / 1.312 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3707, allocations: 41.94 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3719, allocations: 423.5 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.3719, allocations: 38.56 kB / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.372, allocations: 24.84 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.372, allocations: 12.08 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.372, allocations: 30.56 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 3.286e-06/0.372, allocations: 3.984 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0002773/0.3723, allocations: 113.5 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3724, allocations: 51.41 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.3726, allocations: 227.7 kB / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3726, allocations: 25.7 kB / 1.313 GB, free: 12.19 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3727, allocations: 128.2 kB / 1.313 GB, free: 12.06 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3728, allocations: 27.8 kB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3728, allocations: 29.7 kB / 1.313 GB, free: 12 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000147/0.373, allocations: 326.8 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.373, allocations: 19.98 kB / 1.313 GB, free: 11.65 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3731, allocations: 114.2 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3734, allocations: 142.2 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.3734, allocations: 4 kB / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002492/0.3736, allocations: 149.3 kB / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.3737, allocations: 4 kB / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3737, allocations: 4 kB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3737, allocations: 4.375 kB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3738, allocations: 31.92 kB / 1.314 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.3739, allocations: 7.938 kB / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.3739, allocations: 11.89 kB / 1.314 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3739, allocations: 11.98 kB / 1.314 GB, free: 11.1 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 12
 * 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 (12):
 * Single equations (assignments): 12
 * 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.0001317/0.3741, allocations: 142.6 kB / 1.314 GB, free: 10.95 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.3741, allocations: 11.91 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.3744, allocations: 123.2 kB / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3744, allocations: 0 / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3744, allocations: 7.938 kB / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3744, allocations: 0 / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3746, allocations: 208.6 kB / 1.314 GB, free: 10.55 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3746, allocations: 0 / 1.314 GB, free: 10.55 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.3747, allocations: 19.92 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3747, allocations: 0 / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3747, allocations: 4 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3747, allocations: 0 / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3747, allocations: 3.938 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.3749, allocations: 199.4 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.3749, allocations: 11.91 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.375, allocations: 4 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3752, allocations: 23.97 kB / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.3752, allocations: 3.938 kB / 1.314 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.3753, allocations: 15.97 kB / 1.314 GB, free: 10.26 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001625/0.3754, allocations: 165.4 kB / 1.314 GB, free: 10.1 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.3754, allocations: 0 / 1.314 GB, free: 10.1 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002989/0.3757, allocations: 35.94 kB / 1.314 GB, free: 10.06 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 (8):
 * Single equations (assignments): 8
 * 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.0002644/0.376, allocations: 114.6 kB / 1.315 GB, free: 9.945 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001745/0.3762, allocations: 80.38 kB / 1.315 GB, free: 9.867 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3762, allocations: 0 / 1.315 GB, free: 9.867 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.3762, allocations: 23.98 kB / 1.315 GB, free: 9.844 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3765, allocations: 16 kB / 1.315 GB, free: 9.828 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.3771, allocations: 294.6 kB / 1.315 GB, free: 9.516 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.3775, allocations: 0.7393 MB / 1.316 GB, free: 8.75 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001244/0.3776, allocations: 48.88 kB / 1.316 GB, free: 8.703 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.3777, allocations: 15.44 kB / 1.316 GB, free: 8.688 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.3777, allocations: 0 / 1.316 GB, free: 8.688 MB / 1.014 GB
Notification: Performance of Templates: time 0.006305/0.384, allocations: 2.434 MB / 1.318 GB, free: 6.273 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.88977425172925]