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.000916/0.000916, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009354/0.0009354, allocations: 165 kB / 23.82 MB, free: 0.75 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.9291/0.9291, allocations: 177.1 MB / 204.2 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.878/1.878, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.683e-06/1.683e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.769e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002499/0.002526, allocations: 1.439 MB / 0.8129 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.002675, allocations: 40.38 kB / 0.8129 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.002715, allocations: 4 kB / 0.813 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.002888, allocations: 13.09 kB / 0.813 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.003002, allocations: 11.92 kB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.003006, allocations: 0 / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.796e-05/0.003074, allocations: 21.92 kB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.003109, allocations: 0 / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.006165, allocations: 15.92 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.006219, allocations: 7.984 kB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.006238, allocations: 4 kB / 0.813 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.209e-05/0.00629, allocations: 9.312 kB / 0.813 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.00633, allocations: 7.938 kB / 0.813 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.00635, allocations: 4 kB / 0.813 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.006458, allocations: 23.91 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00646, allocations: 1.156 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.213e-06/0.006461, allocations: 0 / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.006466, allocations: 0 / 0.8131 GB, free: 156 kB / 0.7605 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.0003314/0.006797, allocations: 369.8 kB / 0.8134 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.006836, allocations: 12.03 kB / 0.8134 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.00687, allocations: 0.9375 kB / 0.8134 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.007027, allocations: 138.7 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.007036, allocations: 384 / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.007047, allocations: 384 / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.803e-05/0.007125, allocations: 30.25 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.007135, allocations: 1.531 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.007145, allocations: 4.375 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.007175, allocations: 384 / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.345e-05/0.007189, allocations: 3.938 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.007311, allocations: 117.2 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.007353, allocations: 36.95 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.007371, allocations: 7.688 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.00739, allocations: 0 / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.007414, allocations: 37.45 kB / 0.8138 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.007415, allocations: 0 / 0.8138 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.007534, allocations: 39.7 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.007561, allocations: 51.41 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.007663, allocations: 181.8 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.007673, allocations: 25.7 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.007724, allocations: 139.4 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.007745, allocations: 0 / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.007775, allocations: 19.91 kB / 0.8142 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.007901, allocations: 496.8 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.007911, allocations: 0 / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-06/0.007918, allocations: 8.469 kB / 0.8147 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.007945, allocations: 9.188 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007947, allocations: 0 / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.182e-05/0.008009, allocations: 41.62 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.008022, allocations: 4.531 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008026, allocations: 0.9062 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.008041, allocations: 0 / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.008091, allocations: 4 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.008095, allocations: 0.7812 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.00811, allocations: 7.891 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.008114, allocations: 1.125 kB / 0.8148 GB, free: 14.2 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 6.663e-05/0.008181, allocations: 160.6 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.008189, allocations: 0.8438 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.008264, allocations: 45.09 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008266, allocations: 1.438 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008269, allocations: 0 / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008273, allocations: 3.938 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.945e-05/0.008343, allocations: 116.6 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.008345, allocations: 9.031 kB / 0.8151 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.008355, allocations: 4 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.008357, allocations: 0 / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.008363, allocations: 5.953 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.008364, allocations: 0 / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008365, allocations: 0 / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.917e-05/0.008424, allocations: 76.41 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.008433, allocations: 3.953 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.008443, allocations: 6.375 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.00845, allocations: 0 / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.008462, allocations: 0 / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.008464, allocations: 0 / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.008516, allocations: 135.2 kB / 0.8153 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008516, allocations: 0 / 0.8153 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001889/0.008705, allocations: 8.906 kB / 0.8153 GB, free: 13.57 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.003207/0.01191, allocations: 123.9 kB / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.31e-05/0.01199, allocations: 12.28 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01199, allocations: 1.344 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.012, allocations: 11.69 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.01214, allocations: 2.406 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.0124, allocations: 115.1 kB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.01243, allocations: 60 kB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.01246, allocations: 0.6562 kB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.01248, allocations: 12.5 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01248, allocations: 3.25 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.002338/0.01482, allocations: 0.5285 MB / 0.8162 GB, free: 12.68 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: 5.179884205106646]