Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001395/0.001395, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001673/0.001673, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9552/0.9552, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.855/1.855, allocations: 377.8 MB / 0.6239 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8115 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.535e-05, allocations: 6.047 kB / 0.8115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002119/0.002145, allocations: 1.436 MB / 0.8129 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.002272, allocations: 41.53 kB / 0.8129 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.002318, allocations: 1.031 kB / 0.8129 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.002483, allocations: 11.94 kB / 0.8129 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.00259, allocations: 21.17 kB / 0.813 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.697e-06/0.002594, allocations: 1.25 kB / 0.813 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.002662, allocations: 16.58 kB / 0.813 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.002703, allocations: 7.984 kB / 0.813 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.002747, allocations: 9.688 kB / 0.813 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.0028, allocations: 11.98 kB / 0.813 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.002819, allocations: 0 / 0.813 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.002863, allocations: 8 kB / 0.813 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.002899, allocations: 3.938 kB / 0.813 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.002918, allocations: 8.844 kB / 0.813 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.582e-05/0.003014, allocations: 27.84 kB / 0.8131 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003016, allocations: 0.6562 kB / 0.8131 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.024e-06/0.003018, allocations: 4 kB / 0.8131 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003023, allocations: 1.375 kB / 0.8131 GB, free: 15.34 MB / 0.7292 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.0002729/0.003296, allocations: 360.2 kB / 0.8134 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.003329, allocations: 8.031 kB / 0.8134 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.003363, allocations: 2.25 kB / 0.8134 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.003503, allocations: 133.2 kB / 0.8135 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.003511, allocations: 384 / 0.8135 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.00352, allocations: 4.359 kB / 0.8135 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.003591, allocations: 38.88 kB / 0.8136 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.003597, allocations: 1.094 kB / 0.8136 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.003604, allocations: 384 / 0.8136 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.003629, allocations: 384 / 0.8136 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.284e-05/0.003642, allocations: 8.594 kB / 0.8136 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.003754, allocations: 116.7 kB / 0.8137 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.323e-05/0.003787, allocations: 24.09 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.003805, allocations: 15.62 kB / 0.8137 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.003821, allocations: 4.75 kB / 0.8137 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.00384, allocations: 33.39 kB / 0.8138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.00384, allocations: 0.6875 kB / 0.8138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001081/0.003948, allocations: 30.95 kB / 0.8138 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.003975, allocations: 55.41 kB / 0.8139 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.004061, allocations: 177.8 kB / 0.814 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.004069, allocations: 27.83 kB / 0.8141 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.004104, allocations: 134.8 kB / 0.8142 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.004123, allocations: 3.953 kB / 0.8142 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.004145, allocations: 19.38 kB / 0.8142 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.004245, allocations: 496.1 kB / 0.8147 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.004255, allocations: 7.938 kB / 0.8147 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.004262, allocations: 4.828 kB / 0.8147 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.008e-05/0.004282, allocations: 12.97 kB / 0.8147 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004284, allocations: 0 / 0.8147 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.921e-05/0.004323, allocations: 33.7 kB / 0.8147 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.004336, allocations: 8.656 kB / 0.8147 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.004339, allocations: 0.7188 kB / 0.8147 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.004352, allocations: 4 kB / 0.8147 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.59e-05/0.004398, allocations: 1.5 kB / 0.8148 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.004402, allocations: 0 / 0.8148 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.004412, allocations: 7.875 kB / 0.8148 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.004417, allocations: 4 kB / 0.8148 GB, free: 13.4 MB / 0.7292 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 5.396e-05/0.004471, allocations: 158.1 kB / 0.8149 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.004477, allocations: 3.953 kB / 0.8149 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.004542, allocations: 41.17 kB / 0.815 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.004543, allocations: 1.781 kB / 0.815 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.004546, allocations: 0 / 0.815 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.00455, allocations: 7.922 kB / 0.815 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.892e-05/0.004609, allocations: 112.6 kB / 0.8151 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.00461, allocations: 0 / 0.8151 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-06/0.004618, allocations: 5.094 kB / 0.8151 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00462, allocations: 0 / 0.8151 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.004626, allocations: 3.984 kB / 0.8151 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.004627, allocations: 1.5 kB / 0.8151 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004627, allocations: 0 / 0.8151 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.053e-05/0.004678, allocations: 76.36 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.004687, allocations: 8.484 kB / 0.8152 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.004695, allocations: 0 / 0.8152 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-06/0.0047, allocations: 0.5938 kB / 0.8152 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.004714, allocations: 4.516 kB / 0.8152 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.004716, allocations: 4 kB / 0.8152 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.004759, allocations: 132 kB / 0.8153 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004759, allocations: 3.938 kB / 0.8153 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001261/0.004885, allocations: 8.844 kB / 0.8153 GB, free: 12.77 MB / 0.7292 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.0001709/0.005056, allocations: 120 kB / 0.8154 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.165e-05/0.005118, allocations: 8.594 kB / 0.8154 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.005119, allocations: 7.938 kB / 0.8154 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.662e-06/0.005126, allocations: 8.531 kB / 0.8154 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.005234, allocations: 8 kB / 0.8155 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.005464, allocations: 115.5 kB / 0.8156 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.834e-05/0.005492, allocations: 59.34 kB / 0.8156 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.005512, allocations: 4.562 kB / 0.8156 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.872e-05/0.005531, allocations: 12.5 kB / 0.8156 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.005531, allocations: 0.625 kB / 0.8156 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.002118/0.007649, allocations: 0.536 MB / 0.8162 GB, free: 11.88 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.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.0639620621223]