Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9564/0.9564, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.509/2.509, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.83e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002161/0.002179, allocations: 1.536 MB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003278, allocations: 1.27 MB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.003333, allocations: 4 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.003501, allocations: 23.84 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.003666, allocations: 39.72 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.003791, allocations: 51.86 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.003936, allocations: 151.5 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004045, allocations: 49.84 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.004139, allocations: 99.8 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.004235, allocations: 51.81 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.004258, allocations: 12 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.004309, allocations: 20 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.004365, allocations: 51.83 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.004408, allocations: 39.89 kB / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.004583, allocations: 191.3 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.004584, allocations: 0 / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.51e-07/0.004585, allocations: 0 / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.004588, allocations: 0 / 0.8421 GB, free: 10.59 MB / 0.8073 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.0003904/0.004979, allocations: 391.9 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.005006, allocations: 8.625 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.005043, allocations: 12.92 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.005223, allocations: 181.3 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.005323, allocations: 222.2 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.005344, allocations: 8.375 kB / 0.8428 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005514, allocations: 204.5 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.005521, allocations: 192 / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.005535, allocations: 8.125 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.005557, allocations: 8 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.00558, allocations: 15.92 kB / 0.8431 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.005978, allocations: 277.7 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.152e-05/0.006019, allocations: 22.52 kB / 0.8434 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.006036, allocations: 12.84 kB / 0.8434 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.006052, allocations: 7.938 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.006074, allocations: 46.5 kB / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.006075, allocations: 0 / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.000115/0.00619, allocations: 57.67 kB / 0.8435 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.006212, allocations: 55.39 kB / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.006312, allocations: 191.7 kB / 0.8437 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.006329, allocations: 25.7 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.006367, allocations: 112 kB / 0.8438 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.006384, allocations: 23.73 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.006414, allocations: 25.7 kB / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.006487, allocations: 330.8 kB / 0.8442 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.006502, allocations: 12 kB / 0.8442 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/0.006548, allocations: 86.22 kB / 0.8443 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.006626, allocations: 105 kB / 0.8444 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.00663, allocations: 7.938 kB / 0.8444 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.348e-05/0.006724, allocations: 101.3 kB / 0.8445 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.006734, allocations: 4.375 kB / 0.8445 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.006737, allocations: 8 kB / 0.8445 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.006751, allocations: 4 kB / 0.8445 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.00681, allocations: 19.98 kB / 0.8445 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.006816, allocations: 7.938 kB / 0.8445 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.006853, allocations: 11.89 kB / 0.8446 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.006865, allocations: 15.98 kB / 0.8446 GB, free: 7.703 MB / 0.8073 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 6.476e-05/0.006929, allocations: 120.6 kB / 0.8447 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.006954, allocations: 11.98 kB / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.976e-05/0.007054, allocations: 87.14 kB / 0.8448 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007056, allocations: 3.938 kB / 0.8448 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007057, allocations: 4 kB / 0.8448 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.00706, allocations: 4 kB / 0.8448 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.007162, allocations: 101.7 kB / 0.8449 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007164, allocations: 4 kB / 0.8449 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.007189, allocations: 15.98 kB / 0.8449 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.007191, allocations: 7.938 kB / 0.8449 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-06/0.007195, allocations: 0 / 0.8449 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007196, allocations: 0 / 0.8449 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007196, allocations: 0 / 0.8449 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.032e-05/0.007277, allocations: 159.4 kB / 0.8451 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.00729, allocations: 15.84 kB / 0.8451 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.0073, allocations: 8 kB / 0.8451 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.007383, allocations: 11.98 kB / 0.8451 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-06/0.007393, allocations: 0 / 0.8451 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.007407, allocations: 11.97 kB / 0.8451 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.007448, allocations: 49.8 kB / 0.8452 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007448, allocations: 0 / 0.8452 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001759/0.007624, allocations: 31.94 kB / 0.8452 GB, free: 7.02 MB / 0.8073 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.0001735/0.007797, allocations: 97.64 kB / 0.8453 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.007884, allocations: 48.7 kB / 0.8453 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.007889, allocations: 4 kB / 0.8453 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.007907, allocations: 21.25 kB / 0.8454 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.008065, allocations: 36.86 kB / 0.8454 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.008366, allocations: 259.8 kB / 0.8456 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.124e-05/0.008407, allocations: 79.19 kB / 0.8457 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.473e-05/0.008462, allocations: 32.84 kB / 0.8457 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.008635, allocations: 111.2 kB / 0.8459 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.008636, allocations: 0 / 0.8459 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of Templates: time 0.003976/0.01261, allocations: 2.712 MB / 0.8485 GB, free: 3.617 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.458866199944168]