Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001398/0.001398, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001049/0.001049, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.604/2.604, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.652e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002117/0.002133, allocations: 1.591 MB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003287, allocations: 1.262 MB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.003351, allocations: 7.938 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.003515, allocations: 15.86 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.003679, allocations: 39.72 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.003815, allocations: 63.83 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.003971, allocations: 155.5 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.004081, allocations: 41.86 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.004183, allocations: 103.8 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.00428, allocations: 43.88 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.004307, allocations: 12 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.00436, allocations: 20 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.004421, allocations: 63.8 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.004466, allocations: 47.83 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.004653, allocations: 175.4 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.004654, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004655, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004659, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 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.00041/0.005069, allocations: 383.9 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.005099, allocations: 12.62 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.005143, allocations: 20.86 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.005342, allocations: 177.3 kB / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.005451, allocations: 222.2 kB / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.005468, allocations: 4.375 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.005645, allocations: 208.4 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.005652, allocations: 4.188 kB / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.005666, allocations: 4.125 kB / 0.8431 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.005694, allocations: 8 kB / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.572e-05/0.00572, allocations: 15.92 kB / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.006145, allocations: 281.7 kB / 0.8434 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.014e-05/0.006185, allocations: 26.5 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.006202, allocations: 8.859 kB / 0.8435 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.00622, allocations: 4 kB / 0.8435 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.006245, allocations: 34.56 kB / 0.8435 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.006246, allocations: 0 / 0.8435 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001304/0.006377, allocations: 69.73 kB / 0.8436 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.0064, allocations: 55.41 kB / 0.8436 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.006514, allocations: 191.6 kB / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.006533, allocations: 25.7 kB / 0.8438 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.006585, allocations: 108 kB / 0.8439 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.006606, allocations: 31.72 kB / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.006647, allocations: 29.7 kB / 0.844 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.006736, allocations: 326.8 kB / 0.8443 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.006757, allocations: 8 kB / 0.8443 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.006826, allocations: 82.28 kB / 0.8444 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.006945, allocations: 116.9 kB / 0.8445 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.006949, allocations: 3.938 kB / 0.8445 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001611/0.00711, allocations: 101.4 kB / 0.8446 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.007123, allocations: 4 kB / 0.8446 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.00713, allocations: 4 kB / 0.8446 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.007146, allocations: 7.938 kB / 0.8446 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.007219, allocations: 23.92 kB / 0.8446 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.007224, allocations: 4 kB / 0.8446 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.007262, allocations: 16.27 kB / 0.8446 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.007272, allocations: 12 kB / 0.8447 GB, free: 7.652 MB / 0.8073 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.412e-05/0.007346, allocations: 124.5 kB / 0.8448 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.007374, allocations: 11.98 kB / 0.8448 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.00748, allocations: 71.12 kB / 0.8449 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007482, allocations: 0 / 0.8449 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.007483, allocations: 0 / 0.8449 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.007487, allocations: 4 kB / 0.8449 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.007608, allocations: 117.6 kB / 0.845 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.007609, allocations: 0 / 0.845 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.007638, allocations: 12 kB / 0.845 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00764, allocations: 7.938 kB / 0.845 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.007644, allocations: 0 / 0.845 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007646, allocations: 3.984 kB / 0.845 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007647, allocations: 0 / 0.845 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.547e-05/0.007733, allocations: 147.5 kB / 0.8451 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.007746, allocations: 15.84 kB / 0.8452 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.007758, allocations: 4 kB / 0.8452 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.007849, allocations: 11.98 kB / 0.8452 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.007864, allocations: 15.91 kB / 0.8452 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.00788, allocations: 7.984 kB / 0.8452 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.007922, allocations: 53.78 kB / 0.8452 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007922, allocations: 0 / 0.8452 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001749/0.008097, allocations: 31.94 kB / 0.8453 GB, free: 6.977 MB / 0.8073 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.0001648/0.008262, allocations: 104.5 kB / 0.8454 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.008343, allocations: 45.31 kB / 0.8454 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.008346, allocations: 4 kB / 0.8454 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.995e-05/0.008366, allocations: 20.84 kB / 0.8454 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.008537, allocations: 32.05 kB / 0.8455 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.008849, allocations: 263.7 kB / 0.8457 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.71e-05/0.008897, allocations: 87.17 kB / 0.8458 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.008957, allocations: 33.47 kB / 0.8458 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.009144, allocations: 107.3 kB / 0.8459 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.009144, allocations: 0 / 0.8459 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.004246/0.01339, allocations: 2.713 MB / 0.8486 GB, free: 3.566 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.566087351180613]