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.001327/0.001327, 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.001627/0.001627, 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 1.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.83/1.83, allocations: 377.8 MB / 0.6239 GB, free: 8.516 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.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.262e-06/1.262e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.454e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00207/0.002095, allocations: 1.557 MB / 0.813 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003253, allocations: 1.25 MB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.003306, allocations: 3.938 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.003488, allocations: 11.88 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.00367, allocations: 47.7 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.003808, allocations: 57.25 kB / 0.8144 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.003968, allocations: 147.5 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.004106, allocations: 38.78 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.004204, allocations: 111.7 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.004306, allocations: 39.84 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.004334, allocations: 12 kB / 0.8147 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.004393, allocations: 31.97 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.004457, allocations: 48.36 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.004511, allocations: 44.42 kB / 0.8148 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.004731, allocations: 183.9 kB / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.004734, allocations: 5.172 kB / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.683e-06/0.004736, allocations: 0 / 0.815 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.00474, allocations: 0 / 0.815 GB, free: 14.51 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.0005331/0.005273, allocations: 0.5118 MB / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.005309, allocations: 9.406 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.005381, allocations: 24.84 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.005613, allocations: 206.5 kB / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.005743, allocations: 218.2 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.005766, allocations: 9.531 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.005966, allocations: 196.9 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.005973, allocations: 1.156 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.005992, allocations: 8.125 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.006024, allocations: 11.98 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.006065, allocations: 24.77 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.006633, allocations: 417.6 kB / 0.8166 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.558e-05/0.006688, allocations: 35 kB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.006716, allocations: 19.67 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.006738, allocations: 5.375 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.006761, allocations: 41.33 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.006762, allocations: 0 / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001939/0.006956, allocations: 87.12 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.006985, allocations: 55.34 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.007149, allocations: 266.9 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.007167, allocations: 25.7 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.007241, allocations: 177.7 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.007261, allocations: 27.75 kB / 0.8173 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.0073, allocations: 39.36 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.007418, allocations: 0.504 MB / 0.8178 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.007446, allocations: 11.98 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.057e-05/0.007516, allocations: 112.2 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.007636, allocations: 152.2 kB / 0.8181 GB, free: 11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.007638, allocations: 0 / 0.8181 GB, free: 11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001507/0.007789, allocations: 127.9 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007803, allocations: 4 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.007811, allocations: 5.281 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.007826, allocations: 4 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.007907, allocations: 27.92 kB / 0.8182 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.007914, allocations: 4.844 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.007954, allocations: 15.89 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.007963, allocations: 6.688 kB / 0.8182 GB, free: 10.8 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.75e-05/0.00804, allocations: 168.5 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.008073, allocations: 19.91 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.008224, allocations: 91.28 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.008228, allocations: 8 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008231, allocations: 3.938 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008235, allocations: 6.734 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.008375, allocations: 180.4 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008377, allocations: 0 / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.008408, allocations: 19.94 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.00841, allocations: 3.984 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.008417, allocations: 4 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008419, allocations: 0 / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008419, allocations: 0 / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.008561, allocations: 224.7 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.008577, allocations: 11.91 kB / 0.819 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.008591, allocations: 5.109 kB / 0.819 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.008692, allocations: 12 kB / 0.819 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.008709, allocations: 7.984 kB / 0.819 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.008725, allocations: 9.109 kB / 0.819 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.604e-05/0.008811, allocations: 181.4 kB / 0.8192 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008811, allocations: 0 / 0.8192 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002039/0.009015, allocations: 32.97 kB / 0.8192 GB, free: 9.773 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.0002196/0.009234, allocations: 125.6 kB / 0.8193 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.009348, allocations: 52.47 kB / 0.8194 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009349, allocations: 5.281 kB / 0.8194 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.009376, allocations: 27.67 kB / 0.8194 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.009612, allocations: 35.56 kB / 0.8194 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.009978, allocations: 258.9 kB / 0.8197 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.01002, allocations: 79.84 kB / 0.8198 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.608e-05/0.0101, allocations: 45.48 kB / 0.8198 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.01013, allocations: 20.48 kB / 0.8198 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.01013, allocations: 1.406 kB / 0.8198 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of Templates: time 0.003932/0.01406, allocations: 2.484 MB / 0.8222 GB, free: 6.648 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.1966079759877175]