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.001251/0.001251, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001105/0.001105, allocations: 163.3 kB / 24.86 MB, free: 9.211 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.9876/0.9876, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.937/1.937, allocations: 377.9 MB / 0.6247 GB, free: 8.375 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.202e-06/1.202e-06, allocations: 1.203 kB / 0.8127 GB, free: 344 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.714e-05, allocations: 2.312 kB / 0.8127 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002038/0.002055, allocations: 1.543 MB / 0.8143 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003182, allocations: 1.255 MB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.003227, allocations: 4 kB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.003366, allocations: 19.78 kB / 0.8155 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.003508, allocations: 40.84 kB / 0.8155 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.00362, allocations: 61.27 kB / 0.8156 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.00376, allocations: 151.5 kB / 0.8157 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003865, allocations: 38.88 kB / 0.8158 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.003953, allocations: 103.8 kB / 0.8159 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.004039, allocations: 47.81 kB / 0.8159 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.004064, allocations: 12 kB / 0.8159 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.004111, allocations: 28.97 kB / 0.816 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.004164, allocations: 51.81 kB / 0.816 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.004208, allocations: 47.89 kB / 0.8161 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004381, allocations: 184.1 kB / 0.8162 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004383, allocations: 0 / 0.8162 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004384, allocations: 1.688 kB / 0.8162 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.004387, allocations: 0 / 0.8162 GB, free: 12.77 MB / 0.7292 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.0004255/0.004812, allocations: 0.5071 MB / 0.8167 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.00486, allocations: 8.031 kB / 0.8167 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.004916, allocations: 30.33 kB / 0.8168 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.005109, allocations: 201 kB / 0.817 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.005214, allocations: 218.2 kB / 0.8172 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.005234, allocations: 10.12 kB / 0.8172 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.005401, allocations: 188.9 kB / 0.8174 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.005409, allocations: 192 / 0.8174 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.005424, allocations: 4.125 kB / 0.8174 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.005448, allocations: 13.17 kB / 0.8174 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.674e-05/0.005474, allocations: 15.98 kB / 0.8174 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.005917, allocations: 385.8 kB / 0.8178 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.005955, allocations: 31.05 kB / 0.8178 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.005973, allocations: 14.25 kB / 0.8178 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.005989, allocations: 7.984 kB / 0.8178 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.00601, allocations: 41.39 kB / 0.8178 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.006011, allocations: 0 / 0.8178 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001467/0.006158, allocations: 73.53 kB / 0.8179 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.006182, allocations: 55.41 kB / 0.818 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.006555, allocations: 262.8 kB / 0.8182 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.006572, allocations: 30.36 kB / 0.8183 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.006639, allocations: 182.8 kB / 0.8184 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.006658, allocations: 28.28 kB / 0.8185 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.006693, allocations: 41 kB / 0.8185 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.006805, allocations: 0.5001 MB / 0.819 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.006822, allocations: 11.98 kB / 0.819 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.006886, allocations: 124.1 kB / 0.8191 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.613e-05/0.006982, allocations: 144.3 kB / 0.8192 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.006985, allocations: 4 kB / 0.8193 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001246/0.007109, allocations: 120.6 kB / 0.8194 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.007119, allocations: 4 kB / 0.8194 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.007126, allocations: 8.297 kB / 0.8194 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.007135, allocations: 5.969 kB / 0.8194 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.007193, allocations: 20 kB / 0.8194 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007198, allocations: 7.922 kB / 0.8194 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.007233, allocations: 15.95 kB / 0.8194 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.007241, allocations: 7.984 kB / 0.8194 GB, free: 9.141 MB / 0.7292 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.219e-05/0.007313, allocations: 169.1 kB / 0.8196 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.007347, allocations: 18.34 kB / 0.8196 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.007455, allocations: 95.05 kB / 0.8197 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.007456, allocations: 0 / 0.8197 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007458, allocations: 0 / 0.8197 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.00746, allocations: 0 / 0.8197 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.007575, allocations: 141.1 kB / 0.8198 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.007576, allocations: 1.844 kB / 0.8198 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.007605, allocations: 23.92 kB / 0.8199 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.007606, allocations: 3.938 kB / 0.8199 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-06/0.00761, allocations: 0 / 0.8199 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.007611, allocations: 4 kB / 0.8199 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007612, allocations: 0.5312 kB / 0.8199 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.007737, allocations: 231.7 kB / 0.8201 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.007752, allocations: 16.41 kB / 0.8201 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.007763, allocations: 5.344 kB / 0.8201 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.007852, allocations: 11.98 kB / 0.8201 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.007864, allocations: 7.984 kB / 0.8201 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.007878, allocations: 12.7 kB / 0.8201 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.007943, allocations: 169.4 kB / 0.8203 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007943, allocations: 0.6562 kB / 0.8203 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000194/0.008137, allocations: 28 kB / 0.8203 GB, free: 8.16 MB / 0.7292 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.0001555/0.008293, allocations: 136.3 kB / 0.8205 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.00838, allocations: 49.44 kB / 0.8205 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.008382, allocations: 4 kB / 0.8205 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.008403, allocations: 27.61 kB / 0.8205 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.008601, allocations: 32.97 kB / 0.8206 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.008885, allocations: 263.7 kB / 0.8208 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.008929, allocations: 83.31 kB / 0.8209 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.724e-05/0.008986, allocations: 32.84 kB / 0.8209 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.00917, allocations: 147.2 kB / 0.8211 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/0.00917, allocations: 0 / 0.8211 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of Templates: time 0.003715/0.01289, allocations: 2.766 MB / 0.8238 GB, free: 4.633 MB / 0.7292 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.151345254853368]