Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008498/0.0008498, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.000957/0.000957, allocations: 185.3 kB / 24.09 MB, free: 416 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.9814/0.9814, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.906/1.906, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] 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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.575e-05, allocations: 8.5 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002148/0.002174, allocations: 1.538 MB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003354, allocations: 1.256 MB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.003417, allocations: 0 / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.003605, allocations: 17.47 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.003798, allocations: 47.64 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.003934, allocations: 52.56 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.004082, allocations: 160.5 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.004205, allocations: 29.23 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.004311, allocations: 103.8 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004412, allocations: 44.42 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.004442, allocations: 12.53 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.004502, allocations: 29.3 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.004562, allocations: 47.83 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.004615, allocations: 51.83 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.004808, allocations: 179.3 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.004811, allocations: 5.141 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.21e-07/0.004812, allocations: 0 / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.004817, allocations: 0 / 0.8155 GB, free: 13.89 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005043/0.005321, allocations: 0.5165 MB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.005358, allocations: 12.03 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.005408, allocations: 20.84 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.005616, allocations: 198.5 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.005734, allocations: 226.1 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.005755, allocations: 12.36 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.00593, allocations: 186.3 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.005937, allocations: 192 / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.005953, allocations: 12.12 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.005977, allocations: 8.516 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.006004, allocations: 22.45 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.006492, allocations: 378 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/0.006534, allocations: 33.14 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.006556, allocations: 19.69 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.006588, allocations: 13.31 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.006611, allocations: 37.33 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.006612, allocations: 0 / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001617/0.006774, allocations: 86.22 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.006798, allocations: 55.92 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.006946, allocations: 258.8 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.006968, allocations: 30.42 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.007035, allocations: 166.8 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.007057, allocations: 36.25 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.007102, allocations: 36.91 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.007225, allocations: 0.5079 MB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.00724, allocations: 4 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.007304, allocations: 124.1 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.00741, allocations: 153.2 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007412, allocations: 0 / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001382/0.00755, allocations: 124.3 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007565, allocations: 10.34 kB / 0.8186 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.00757, allocations: 0 / 0.8186 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.007585, allocations: 7.938 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.007647, allocations: 26.33 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.007653, allocations: 7.938 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.007689, allocations: 11.89 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.007697, allocations: 4 kB / 0.8187 GB, free: 10.25 MB / 0.7761 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 7.84e-05/0.007776, allocations: 164.5 kB / 0.8188 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.007809, allocations: 24.41 kB / 0.8189 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.007931, allocations: 91.05 kB / 0.8189 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007933, allocations: 1.094 kB / 0.8189 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.007935, allocations: 4 kB / 0.8189 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007938, allocations: 0 / 0.8189 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.008072, allocations: 146 kB / 0.8191 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008073, allocations: 0 / 0.8191 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.008103, allocations: 21.55 kB / 0.8191 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008105, allocations: 4 kB / 0.8191 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.008109, allocations: 0 / 0.8191 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.008111, allocations: 0 / 0.8191 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.008113, allocations: 4 kB / 0.8191 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.008236, allocations: 220.3 kB / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.008252, allocations: 21.19 kB / 0.8193 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.008264, allocations: 3.984 kB / 0.8193 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.008353, allocations: 8 kB / 0.8194 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.008367, allocations: 8.641 kB / 0.8194 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.008381, allocations: 11.98 kB / 0.8194 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.23e-05/0.008453, allocations: 178.1 kB / 0.8195 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008453, allocations: 0 / 0.8195 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001932/0.008646, allocations: 32.59 kB / 0.8196 GB, free: 9.277 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 (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.000188/0.008834, allocations: 121.6 kB / 0.8197 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.008928, allocations: 57.88 kB / 0.8197 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.00893, allocations: 0 / 0.8197 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.008951, allocations: 27.61 kB / 0.8198 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.009169, allocations: 32.86 kB / 0.8198 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.009478, allocations: 262.8 kB / 0.8201 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.357e-05/0.009521, allocations: 80.44 kB / 0.8201 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.378e-05/0.009575, allocations: 28.86 kB / 0.8202 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.009753, allocations: 150 kB / 0.8203 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.009754, allocations: 5.062 kB / 0.8203 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of Templates: time 0.004078/0.01383, allocations: 2.731 MB / 0.823 GB, free: 5.801 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.119620190002024]