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.001023/0.001023, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001195/0.001195, allocations: 161 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.9555/0.9555, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.835/1.835, allocations: 377.9 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.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.403e-06/1.403e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.943e-05, allocations: 7 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002169/0.002188, allocations: 1.542 MB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.00329, allocations: 1.261 MB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.00334, allocations: 4 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.003518, allocations: 19.84 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.003716, allocations: 39.72 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.003857, allocations: 61.36 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.004008, allocations: 149.3 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.004133, allocations: 41.2 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.494e-05/0.004228, allocations: 103.8 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.004327, allocations: 47.81 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.004356, allocations: 12.94 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.00442, allocations: 24 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.004477, allocations: 47.88 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.004529, allocations: 48.42 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.004725, allocations: 188 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004727, allocations: 0 / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004728, allocations: 1.25 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.004732, allocations: 0 / 0.815 GB, free: 14.18 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.0005112/0.005243, allocations: 0.5152 MB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.005277, allocations: 10.59 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.005339, allocations: 24.83 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.005558, allocations: 197.1 kB / 0.8157 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.005673, allocations: 218.2 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.005695, allocations: 16.36 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.005886, allocations: 193.4 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005894, allocations: 192 / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.005911, allocations: 8.844 kB / 0.8162 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.005938, allocations: 8 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.693e-05/0.005975, allocations: 20.45 kB / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.006507, allocations: 421 kB / 0.8166 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/0.006559, allocations: 35.64 kB / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.006587, allocations: 16.38 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.006606, allocations: 4 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.006627, allocations: 38.08 kB / 0.8167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.006628, allocations: 0 / 0.8167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001854/0.006814, allocations: 90.66 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.00684, allocations: 51.41 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.006998, allocations: 264.2 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.007018, allocations: 33.7 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.007083, allocations: 166.8 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.007104, allocations: 31.73 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.007138, allocations: 40.12 kB / 0.8173 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.00725, allocations: 0.5117 MB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.007273, allocations: 4.938 kB / 0.8178 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.007348, allocations: 120.2 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.007453, allocations: 148.4 kB / 0.8181 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.007456, allocations: 4 kB / 0.8181 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001359/0.007592, allocations: 124.2 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.007604, allocations: 8 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.007608, allocations: 1.406 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.00762, allocations: 4 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.007691, allocations: 23.98 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.007698, allocations: 8.562 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.007737, allocations: 15.89 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.007749, allocations: 12.52 kB / 0.8183 GB, free: 10.47 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.209e-05/0.007821, allocations: 165.1 kB / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.007855, allocations: 17.12 kB / 0.8185 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.00799, allocations: 95.28 kB / 0.8185 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007992, allocations: 0 / 0.8185 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.007995, allocations: 1.094 kB / 0.8185 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007999, allocations: 0 / 0.8185 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.008142, allocations: 184.4 kB / 0.8187 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008144, allocations: 4.641 kB / 0.8187 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.008172, allocations: 12 kB / 0.8187 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008174, allocations: 0.7188 kB / 0.8187 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.008183, allocations: 8 kB / 0.8187 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008185, allocations: 3.906 kB / 0.8187 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008186, allocations: 0 / 0.8187 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.008338, allocations: 235.6 kB / 0.819 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.008355, allocations: 11.91 kB / 0.819 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.008368, allocations: 0 / 0.819 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.008458, allocations: 11.98 kB / 0.819 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.008478, allocations: 15.97 kB / 0.819 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.008494, allocations: 11.98 kB / 0.819 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003826/0.008877, allocations: 177.4 kB / 0.8192 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008877, allocations: 0 / 0.8192 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002006/0.009077, allocations: 33.22 kB / 0.8192 GB, free: 9.445 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.0002309/0.009308, allocations: 126 kB / 0.8193 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.009433, allocations: 53.64 kB / 0.8194 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.009435, allocations: 0 / 0.8194 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.009463, allocations: 35.59 kB / 0.8194 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.009685, allocations: 36.22 kB / 0.8195 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.01004, allocations: 250.9 kB / 0.8197 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.711e-05/0.01009, allocations: 83.31 kB / 0.8198 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.15e-05/0.01016, allocations: 48.81 kB / 0.8198 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.0102, allocations: 16.5 kB / 0.8198 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.0102, allocations: 0 / 0.8198 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.004171/0.01437, allocations: 2.74 MB / 0.8225 GB, free: 6.051 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.039196778554469]