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.001412/0.001412, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001449/0.001449, allocations: 168.2 kB / 24.86 MB, free: 8.895 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.9515/0.9515, allocations: 177.1 MB / 205.3 MB, free: 5.125 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.839/1.839, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.233e-06/1.233e-06, allocations: 0.6562 kB / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.621e-05, allocations: 3.625 kB / 0.8128 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001763/0.00178, allocations: 1.416 MB / 0.8141 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001092/0.001889, allocations: 36.61 kB / 0.8142 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.001929, allocations: 0 / 0.8142 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.002096, allocations: 21.47 kB / 0.8142 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.002198, allocations: 15.88 kB / 0.8142 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 2.866e-06/0.002201, allocations: 2.25 kB / 0.8142 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.002272, allocations: 19.92 kB / 0.8142 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.002309, allocations: 0 / 0.8142 GB, free: 0 / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.441e-05/0.002363, allocations: 11.98 kB / 0.8142 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.00241, allocations: 7.938 kB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.002425, allocations: 0 / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.062e-05/0.002466, allocations: 17.23 kB / 0.8143 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.002499, allocations: 7.984 kB / 0.8143 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.237e-05/0.002512, allocations: 3.938 kB / 0.8143 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.002595, allocations: 23.92 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002596, allocations: 1.219 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002597, allocations: 0 / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.0026, allocations: 0 / 0.8143 GB, free: 15.93 MB / 0.7761 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.000239/0.002839, allocations: 365.2 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.002869, allocations: 8.031 kB / 0.8147 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.002894, allocations: 6.281 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.003008, allocations: 137.2 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.003015, allocations: 384 / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-06/0.003021, allocations: 4.375 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.726e-05/0.003079, allocations: 36.14 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.003085, allocations: 192 / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.003092, allocations: 4.359 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.003112, allocations: 384 / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.01e-05/0.003122, allocations: 13.73 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.003231, allocations: 97.3 kB / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.003282, allocations: 23.06 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.003295, allocations: 7.688 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.00331, allocations: 4.062 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.003331, allocations: 38.11 kB / 0.815 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.003332, allocations: 0 / 0.815 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 9.367e-05/0.003425, allocations: 34.94 kB / 0.815 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.003454, allocations: 55.41 kB / 0.8151 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.003532, allocations: 174.6 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.003542, allocations: 25.7 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.003578, allocations: 132.2 kB / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.003598, allocations: 3.984 kB / 0.8154 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.003622, allocations: 19.38 kB / 0.8154 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.003736, allocations: 0.4888 MB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.003741, allocations: 0 / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.003749, allocations: 9.312 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.02e-05/0.003769, allocations: 11.69 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.00377, allocations: 1.156 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.069e-05/0.003811, allocations: 33.7 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.00382, allocations: 4 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.003825, allocations: 0.9062 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.003833, allocations: 0 / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.003873, allocations: 8.766 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.003876, allocations: 4.062 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.003885, allocations: 5.234 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.00389, allocations: 3.938 kB / 0.816 GB, free: 14.01 MB / 0.7761 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.356e-05/0.003944, allocations: 156.6 kB / 0.8161 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.003949, allocations: 4.781 kB / 0.8161 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.004004, allocations: 53.03 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.004005, allocations: 1.219 kB / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.004007, allocations: 0 / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.004009, allocations: 0 / 0.8162 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.189e-05/0.004061, allocations: 102.5 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004061, allocations: 0 / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.004067, allocations: 0 / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.004067, allocations: 0 / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-06/0.004071, allocations: 5.719 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.004072, allocations: 3.984 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.004073, allocations: 0 / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.153e-05/0.004145, allocations: 72.36 kB / 0.8164 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.004154, allocations: 6.578 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-06/0.00416, allocations: 0 / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.004166, allocations: 8 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.004176, allocations: 3.984 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-06/0.004177, allocations: 0 / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.004213, allocations: 131.2 kB / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004213, allocations: 0 / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001201/0.004333, allocations: 4.5 kB / 0.8165 GB, free: 13.41 MB / 0.7761 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.0001418/0.004475, allocations: 127.7 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.629e-05/0.004521, allocations: 11.69 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.004522, allocations: 0.6562 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-06/0.00453, allocations: 12.28 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.484e-05/0.004625, allocations: 7.938 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.004794, allocations: 113.4 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.669e-05/0.00482, allocations: 59.34 kB / 0.8168 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.004833, allocations: 4 kB / 0.8168 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.004861, allocations: 66.2 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.004862, allocations: 0 / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.001795/0.006657, allocations: 0.5776 MB / 0.8175 GB, free: 12.41 MB / 0.7761 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: 4.96700685005635]