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.001452/0.001452, 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.001501/0.001501, 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.9596/0.9596, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.8 MB / 0.6236 GB, free: 8.547 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.744e-06/1.744e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.504e-05, allocations: 4.141 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.005592/0.005617, allocations: 1.55 MB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.007042, allocations: 1.257 MB / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.007094, allocations: 0 / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.01032, allocations: 23.84 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.01053, allocations: 45.39 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.01071, allocations: 53.39 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.01089, allocations: 155.5 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.01102, allocations: 33.22 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.01114, allocations: 103.8 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.01127, allocations: 48.98 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.01131, allocations: 11.94 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.01138, allocations: 20 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.01146, allocations: 53.47 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.01154, allocations: 51.83 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.01181, allocations: 171.4 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01181, allocations: 0 / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01181, allocations: 2.438 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.01182, allocations: 7.938 kB / 0.815 GB, free: 14.2 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.0006501/0.01247, allocations: 0.5153 MB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.01251, allocations: 15.97 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.01259, allocations: 20.78 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.01288, allocations: 201.6 kB / 0.8157 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.01304, allocations: 218.2 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.01308, allocations: 9.094 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.01335, allocations: 200.4 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.01336, allocations: 1.812 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.01339, allocations: 8.125 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.01343, allocations: 4 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.745e-05/0.01349, allocations: 23.92 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.01427, allocations: 425.4 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.01433, allocations: 31.05 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.01436, allocations: 16.53 kB / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.0144, allocations: 8.141 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.01442, allocations: 38.77 kB / 0.8167 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.01442, allocations: 0 / 0.8167 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002457/0.01467, allocations: 85.52 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.0147, allocations: 57.16 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.01492, allocations: 262.9 kB / 0.8171 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.01494, allocations: 29.7 kB / 0.8171 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.01504, allocations: 170.8 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.01506, allocations: 27.75 kB / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.01512, allocations: 40.17 kB / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.0153, allocations: 0.504 MB / 0.8178 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/0.01533, allocations: 8.875 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.01543, allocations: 120.2 kB / 0.8179 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.01558, allocations: 156.4 kB / 0.8181 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01558, allocations: 0 / 0.8181 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002126/0.0158, allocations: 124.4 kB / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.01582, allocations: 8 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01582, allocations: 4 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.01584, allocations: 5.25 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01595, allocations: 19.94 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.01596, allocations: 7.984 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.01603, allocations: 12.52 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.01604, allocations: 8.562 kB / 0.8183 GB, free: 10.5 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 0.0001016/0.01614, allocations: 173.3 kB / 0.8184 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.0162, allocations: 19.89 kB / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.01639, allocations: 92.2 kB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.0164, allocations: 4 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.0164, allocations: 0 / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.0164, allocations: 0.6562 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.01661, allocations: 192.3 kB / 0.8187 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01661, allocations: 0.7812 kB / 0.8187 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.01666, allocations: 12 kB / 0.8187 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01666, allocations: 1.156 kB / 0.8187 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01667, allocations: 0 / 0.8187 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.01668, allocations: 7.984 kB / 0.8187 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01668, allocations: 1 kB / 0.8187 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.01686, allocations: 219.8 kB / 0.8189 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.01689, allocations: 15.91 kB / 0.819 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.0169, allocations: 5.125 kB / 0.819 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.01706, allocations: 15.92 kB / 0.819 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.01708, allocations: 9.047 kB / 0.819 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.01711, allocations: 15.98 kB / 0.819 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001993/0.01731, allocations: 177.4 kB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01731, allocations: 0.9688 kB / 0.8192 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003739/0.01768, allocations: 31.94 kB / 0.8192 GB, free: 9.465 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.00027/0.01795, allocations: 121 kB / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.01811, allocations: 64.7 kB / 0.8194 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01811, allocations: 0 / 0.8194 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.01815, allocations: 19.69 kB / 0.8194 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.01851, allocations: 40.28 kB / 0.8194 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.01902, allocations: 262 kB / 0.8197 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.376e-05/0.01908, allocations: 75.33 kB / 0.8198 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.0192, allocations: 48.81 kB / 0.8198 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.01924, allocations: 20.5 kB / 0.8198 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01924, allocations: 0 / 0.8198 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.006013/0.02525, allocations: 2.481 MB / 0.8223 GB, free: 6.34 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.300304295960814]