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.000948/0.000948, 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.001001/0.001001, 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.9811/0.9811, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.756/1.756, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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 2.966e-06/2.966e-06, allocations: 4 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.891e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002216/0.002245, allocations: 1.434 MB / 0.8129 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.002365, allocations: 36.8 kB / 0.813 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.002401, allocations: 3.938 kB / 0.813 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.002557, allocations: 12.58 kB / 0.813 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.002663, allocations: 15.92 kB / 0.813 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.002666, allocations: 4.906 kB / 0.813 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.475e-05/0.002731, allocations: 23.86 kB / 0.813 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.002765, allocations: 1.25 kB / 0.813 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.002808, allocations: 8 kB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.002857, allocations: 7.984 kB / 0.813 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.002875, allocations: 3.938 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.223e-05/0.002917, allocations: 12.88 kB / 0.813 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.002953, allocations: 0 / 0.813 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.002973, allocations: 9.078 kB / 0.8131 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.796e-05/0.003071, allocations: 31.84 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003073, allocations: 0 / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003074, allocations: 1.562 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003077, allocations: 0 / 0.8131 GB, free: 160 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.000278/0.003355, allocations: 356.6 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.003388, allocations: 8.031 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.003422, allocations: 6.469 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.003552, allocations: 137.2 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.00356, allocations: 384 / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.003568, allocations: 384 / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.879e-05/0.003636, allocations: 35 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.003643, allocations: 4.125 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.00365, allocations: 1 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.003675, allocations: 384 / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.303e-05/0.003688, allocations: 9.25 kB / 0.8136 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.003789, allocations: 116.7 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.638e-05/0.003825, allocations: 23.06 kB / 0.8137 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.003842, allocations: 13.5 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.003856, allocations: 3.938 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.003875, allocations: 37.33 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.003875, allocations: 0 / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.003988, allocations: 46.95 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.004015, allocations: 51.41 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.004097, allocations: 177.8 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.004105, allocations: 26.27 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.004139, allocations: 132.1 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.004157, allocations: 4 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.004177, allocations: 15.38 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.004275, allocations: 0.4884 MB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.004282, allocations: 0.7188 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.004286, allocations: 0.5312 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.004308, allocations: 21.69 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.00431, allocations: 0 / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.341e-05/0.004344, allocations: 29.7 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.004359, allocations: 8 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004363, allocations: 0 / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.004374, allocations: 0.5312 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.458e-05/0.004419, allocations: 0.7188 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.004426, allocations: 12.3 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.004436, allocations: 5.438 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.004441, allocations: 0 / 0.8148 GB, free: 14.21 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.213e-05/0.004493, allocations: 152.6 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.0045, allocations: 7.953 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.004566, allocations: 49.66 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.004567, allocations: 1 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.00457, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.004574, allocations: 4.75 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.641e-05/0.00463, allocations: 116.6 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004631, allocations: 0 / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-06/0.004638, allocations: 4.922 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-06/0.004639, allocations: 0 / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.004645, allocations: 1.281 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004645, allocations: 0 / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.004648, allocations: 7.984 kB / 0.8151 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.779e-05/0.004695, allocations: 77.27 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.004705, allocations: 7.953 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.004713, allocations: 3.984 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-06/0.004718, allocations: 2.312 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.004731, allocations: 4 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.004732, allocations: 0 / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.00477, allocations: 131.2 kB / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00477, allocations: 0 / 0.8153 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001226/0.004893, allocations: 7.938 kB / 0.8153 GB, free: 13.58 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.0001564/0.00505, allocations: 121 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.155e-05/0.005111, allocations: 11.69 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005113, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.005121, allocations: 12.5 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.764e-05/0.005218, allocations: 7.984 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.005428, allocations: 115.5 kB / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.367e-05/0.005452, allocations: 51.36 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.712e-05/0.005469, allocations: 4.594 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.005487, allocations: 14.08 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.005488, allocations: 0 / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of Templates: time 0.001886/0.007373, allocations: 0.5516 MB / 0.8162 GB, free: 12.67 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.857385081239045]