Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001494/0.001494, allocations: 110 kB / 18.93 MB, free: 2.945 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.001583/0.001583, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.295/1.295, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 179]
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 2.854/2.854, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 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-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.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19")
translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 67.17 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3033, allocations: 174.9 MB / 1.316 GB, free: 9.734 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00261/0.3059, allocations: 1.387 MB / 1.317 GB, free: 8.34 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0001708/0.3061, allocations: 48.28 kB / 1.317 GB, free: 8.293 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.3061, allocations: 0 / 1.317 GB, free: 8.293 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3063, allocations: 11.92 kB / 1.317 GB, free: 8.281 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.3064, allocations: 11.94 kB / 1.317 GB, free: 8.27 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.3064, allocations: 0 / 1.317 GB, free: 8.27 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.755e-05/0.3064, allocations: 19.91 kB / 1.317 GB, free: 8.25 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.3065, allocations: 4 kB / 1.317 GB, free: 8.246 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.3065, allocations: 11.94 kB / 1.317 GB, free: 8.234 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.3066, allocations: 3.984 kB / 1.317 GB, free: 8.23 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3066, allocations: 8 kB / 1.317 GB, free: 8.223 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.488e-05/0.3066, allocations: 12 kB / 1.317 GB, free: 8.211 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.3067, allocations: 3.938 kB / 1.317 GB, free: 8.207 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.3067, allocations: 7.938 kB / 1.317 GB, free: 8.199 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.3068, allocations: 39.83 kB / 1.318 GB, free: 8.16 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3068, allocations: 0 / 1.318 GB, free: 8.16 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.293e-06/0.3068, allocations: 0 / 1.318 GB, free: 8.16 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.957e-06/0.3068, allocations: 0 / 1.318 GB, free: 8.16 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003312/0.3071, allocations: 258.2 kB / 1.318 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3072, allocations: 16.03 kB / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.3072, allocations: 0.9375 kB / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3073, allocations: 118.4 kB / 1.318 GB, free: 7.719 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.3073, allocations: 4.375 kB / 1.318 GB, free: 7.715 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.3073, allocations: 384 / 1.318 GB, free: 7.715 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.3074, allocations: 42.17 kB / 1.318 GB, free: 7.668 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3074, allocations: 192 / 1.318 GB, free: 7.668 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3075, allocations: 3.938 kB / 1.318 GB, free: 7.664 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.3075, allocations: 8 kB / 1.318 GB, free: 7.656 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.3075, allocations: 0 / 1.318 GB, free: 7.656 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.3076, allocations: 132.8 kB / 1.318 GB, free: 7.484 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.27e-05/0.3077, allocations: 18.52 kB / 1.318 GB, free: 7.457 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.3077, allocations: 8.922 kB / 1.318 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.3077, allocations: 3.938 kB / 1.318 GB, free: 7.441 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3077, allocations: 34.56 kB / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3077, allocations: 0 / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.0001326/0.3079, allocations: 45.62 kB / 1.318 GB, free: 7.348 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.3079, allocations: 55.34 kB / 1.318 GB, free: 7.281 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.308, allocations: 117.8 kB / 1.318 GB, free: 7.156 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.308, allocations: 25.7 kB / 1.318 GB, free: 7.125 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.3081, allocations: 88.14 kB / 1.318 GB, free: 7.035 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.3081, allocations: 3.953 kB / 1.318 GB, free: 7.031 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.3081, allocations: 9.719 kB / 1.318 GB, free: 7.016 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001363/0.3083, allocations: 323 kB / 1.319 GB, free: 6.691 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.3083, allocations: 4 kB / 1.319 GB, free: 6.688 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.3083, allocations: 4 kB / 1.319 GB, free: 6.684 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/0.3083, allocations: 4.859 kB / 1.319 GB, free: 6.676 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3083, allocations: 4 kB / 1.319 GB, free: 6.672 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.992e-05/0.3084, allocations: 41.62 kB / 1.319 GB, free: 6.625 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3084, allocations: 8 kB / 1.319 GB, free: 6.617 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3084, allocations: 3.938 kB / 1.319 GB, free: 6.613 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3084, allocations: 0 / 1.319 GB, free: 6.613 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.3084, allocations: 4.094 kB / 1.319 GB, free: 6.609 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.3084, allocations: 0 / 1.319 GB, free: 6.609 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.3084, allocations: 4 kB / 1.319 GB, free: 6.605 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3085, allocations: 0 / 1.319 GB, free: 6.605 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.296e-05/0.3085, allocations: 106.5 kB / 1.319 GB, free: 6.492 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3085, allocations: 11.94 kB / 1.319 GB, free: 6.48 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/0.3086, allocations: 45.09 kB / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3086, allocations: 4 kB / 1.319 GB, free: 6.418 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3086, allocations: 4.031 kB / 1.319 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3086, allocations: 0 / 1.319 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.3087, allocations: 128.7 kB / 1.319 GB, free: 6.246 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3087, allocations: 0 / 1.319 GB, free: 6.246 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.3088, allocations: 11.92 kB / 1.319 GB, free: 6.234 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3088, allocations: 0 / 1.319 GB, free: 6.234 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3088, allocations: 3.938 kB / 1.319 GB, free: 6.23 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.3088, allocations: 0 / 1.319 GB, free: 6.23 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3088, allocations: 0 / 1.319 GB, free: 6.23 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.409e-05/0.3088, allocations: 65.08 kB / 1.319 GB, free: 6.148 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.3089, allocations: 7.938 kB / 1.319 GB, free: 6.141 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3089, allocations: 7.938 kB / 1.319 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-06/0.3089, allocations: 0 / 1.319 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.3089, allocations: 4 kB / 1.319 GB, free: 6.129 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.3089, allocations: 0 / 1.319 GB, free: 6.129 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.026e-05/0.309, allocations: 95.27 kB / 1.319 GB, free: 6.035 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.309, allocations: 0 / 1.319 GB, free: 6.035 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000186/0.3091, allocations: 4 kB / 1.319 GB, free: 6.031 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.000215/0.3094, allocations: 124.6 kB / 1.319 GB, free: 5.906 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.583e-05/0.3094, allocations: 11.92 kB / 1.319 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3094, allocations: 0 / 1.319 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.3094, allocations: 4 kB / 1.319 GB, free: 5.891 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3096, allocations: 4.125 kB / 1.319 GB, free: 5.887 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.3099, allocations: 117.5 kB / 1.32 GB, free: 5.746 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.3101, allocations: 0.6768 MB / 1.32 GB, free: 5.043 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.188e-05/0.3102, allocations: 7.938 kB / 1.32 GB, free: 5.035 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3102, allocations: 7.438 kB / 1.32 GB, free: 5.027 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/0.3102, allocations: 4 kB / 1.32 GB, free: 5.023 MB / 1.014 GB
Notification: Performance of Templates: time 0.002639/0.3128, allocations: 0.4916 MB / 1.321 GB, free: 4.535 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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: 7.804081104695797]