Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001355/0.001355, allocations: 112.7 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.001449/0.001449, allocations: 186.1 kB / 22.22 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.413/1.413, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.714/2.714, allocations: 476.7 MB / 0.7646 GB, free: 9.91 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 63.89 kB / 1.11 GB, free: 6.363 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8668, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.004039/0.8708, allocations: 1.387 MB / 1.276 GB, free: 2.824 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0002481/0.8711, allocations: 35.83 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.8711, allocations: 4 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.8713, allocations: 15.91 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.8715, allocations: 19.92 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.8715, allocations: 0 / 1.276 GB, free: 2.75 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 8.08e-05/0.8715, allocations: 19.88 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.8716, allocations: 0 / 1.276 GB, free: 2.73 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.8716, allocations: 7.984 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.8717, allocations: 11.94 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.8717, allocations: 4 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.583e-05/0.8718, allocations: 11.98 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.8719, allocations: 11.92 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.8719, allocations: 7.938 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.872, allocations: 34.52 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.872, allocations: 0 / 1.276 GB, free: 2.645 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.094e-06/0.872, allocations: 0 / 1.276 GB, free: 2.645 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.092e-05/0.8721, allocations: 0 / 1.276 GB, free: 2.645 MB / 0.9669 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.0004733/0.8725, allocations: 265.9 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8726, allocations: 12.03 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.8726, allocations: 4.938 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.8728, allocations: 114.5 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8729, allocations: 384 / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.8729, allocations: 384 / 1.276 GB, free: 2.203 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.873, allocations: 38.23 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.873, allocations: 192 / 1.276 GB, free: 2.16 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.873, allocations: 3.938 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.873, allocations: 0 / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.8731, allocations: 7.938 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.8733, allocations: 128.8 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.884e-05/0.8734, allocations: 22.58 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.8734, allocations: 4.859 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.8734, allocations: 0 / 1.276 GB, free: 1.941 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.8735, allocations: 30.56 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.8735, allocations: 0 / 1.276 GB, free: 1.902 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=1): time 0.0001964/0.8737, allocations: 53.62 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.8737, allocations: 51.41 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.8739, allocations: 117.8 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.8739, allocations: 29.64 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.874, allocations: 84.08 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.874, allocations: 3.953 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.8741, allocations: 21.7 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001965/0.8743, allocations: 310.8 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.8743, allocations: 8.125 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.354e-05/0.8743, allocations: 0 / 1.277 GB, free: 1.184 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.8744, allocations: 12.86 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8744, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001143/0.8745, allocations: 41.62 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8745, allocations: 4 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.8745, allocations: 3.938 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.8745, allocations: 4 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.8746, allocations: 8.094 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8746, allocations: 0 / 1.277 GB, free: 1.102 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.8746, allocations: 0 / 1.277 GB, free: 1.102 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.8746, allocations: 0 / 1.277 GB, free: 1.102 MB / 0.9669 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 0.0001277/0.8748, allocations: 116 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.8748, allocations: 7.938 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.8749, allocations: 49.05 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8749, allocations: 0 / 1.277 GB, free: 0.9141 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8749, allocations: 0 / 1.277 GB, free: 0.9141 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8749, allocations: 4.031 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.8751, allocations: 132.7 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.8751, allocations: 4 kB / 1.277 GB, free: 0.7344 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.8751, allocations: 0 / 1.277 GB, free: 0.7344 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8751, allocations: 0 / 1.277 GB, free: 0.7344 MB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8751, allocations: 3.938 kB / 1.277 GB, free: 0.7305 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8752, allocations: 0 / 1.277 GB, free: 0.7305 MB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.8752, allocations: 0 / 1.277 GB, free: 0.7305 MB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.8753, allocations: 65.12 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.8753, allocations: 7.953 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.8753, allocations: 3.938 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.8753, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.8754, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.8754, allocations: 4 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB
Notification: Performance of sorting global known variables: time 0.0001058/0.8755, allocations: 99.5 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB
Notification: Performance of sort global known variables: time 2.7e-07/0.8755, allocations: 3.938 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB
Notification: Performance of remove unused functions: time 0.0003527/0.8758, allocations: 7.938 kB / 1.278 GB, free: 0.5234 MB / 0.9669 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.0003012/0.8761, allocations: 113.4 kB / 1.278 GB, free: 420 kB / 0.9669 GB
Notification: Performance of simCode: created initialization part: time 0.000105/0.8762, allocations: 11.98 kB / 1.278 GB, free: 408 kB / 0.9669 GB
Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.8762, allocations: 0 / 1.278 GB, free: 408 kB / 0.9669 GB
Notification: Performance of simCode: created simulation system equations: time 2.339e-05/0.8763, allocations: 4 kB / 1.278 GB, free: 404 kB / 0.9669 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.8765, allocations: 1.875 kB / 1.278 GB, free: 404 kB / 0.9669 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.8768, allocations: 125.6 kB / 1.278 GB, free: 252 kB / 0.9669 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.8773, allocations: 0.6768 MB / 1.279 GB, free: 15.54 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 0.0001024/0.8774, allocations: 4 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.8774, allocations: 7.438 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of SimCode: time 4.21e-07/0.8774, allocations: 3.938 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004256/0.8817, allocations: 0.5029 MB / 1.279 GB, free: 15.03 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.631776046939194]