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.0009429/0.0009429, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009526/0.0009526, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.057/1.057, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.916/1.916, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.292e-06/1.292e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.424e-05, allocations: 10.02 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00206/0.002084, allocations: 1.592 MB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003433, allocations: 1.264 MB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.003481, allocations: 0 / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.00364, allocations: 20.56 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.003792, allocations: 44.09 kB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.00391, allocations: 62.72 kB / 0.763 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004066, allocations: 152.2 kB / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.004168, allocations: 29.95 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.004261, allocations: 107.8 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.004356, allocations: 43.83 kB / 0.7633 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.004381, allocations: 13.47 kB / 0.7633 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.759e-05/0.004438, allocations: 31.92 kB / 0.7633 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.004491, allocations: 47.83 kB / 0.7634 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.004532, allocations: 47.88 kB / 0.7634 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.004707, allocations: 184.6 kB / 0.7636 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004709, allocations: 0 / 0.7636 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00471, allocations: 0 / 0.7636 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.004714, allocations: 1.25 kB / 0.7636 GB, free: 3.012 MB / 0.7136 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.0003875/0.005101, allocations: 383.9 kB / 0.7639 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.00513, allocations: 12.69 kB / 0.764 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.00517, allocations: 12.92 kB / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.00535, allocations: 193.3 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.005456, allocations: 218.2 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.005474, allocations: 12.36 kB / 0.7644 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.005642, allocations: 187.8 kB / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.005649, allocations: 192 / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.005663, allocations: 8.125 kB / 0.7646 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.005685, allocations: 8 kB / 0.7646 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.005709, allocations: 18.73 kB / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.006112, allocations: 273.6 kB / 0.7649 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.006149, allocations: 22.52 kB / 0.7649 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.006169, allocations: 22.16 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.006185, allocations: 0 / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.006205, allocations: 38.5 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.006206, allocations: 0 / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001242/0.00633, allocations: 66.27 kB / 0.765 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.00635, allocations: 51.41 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.006464, allocations: 196.2 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.006482, allocations: 32.77 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.006522, allocations: 108 kB / 0.7654 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.00654, allocations: 27.78 kB / 0.7654 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.006572, allocations: 25.7 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.006659, allocations: 326.8 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.006678, allocations: 7.984 kB / 0.7657 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.006726, allocations: 86.28 kB / 0.7658 GB, free: 480 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.006805, allocations: 109.9 kB / 0.7659 GB, free: 336 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.006808, allocations: 3.938 kB / 0.7659 GB, free: 332 kB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001055/0.006913, allocations: 103.8 kB / 0.766 GB, free: 224 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006924, allocations: 10.33 kB / 0.766 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.00693, allocations: 8.312 kB / 0.766 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.006944, allocations: 6.781 kB / 0.766 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.007003, allocations: 19.94 kB / 0.7661 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.007009, allocations: 7.984 kB / 0.7661 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.007046, allocations: 11.89 kB / 0.7661 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.007056, allocations: 11.98 kB / 0.7661 GB, free: 152 kB / 0.7136 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 6.322e-05/0.007119, allocations: 128.5 kB / 0.7662 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.007145, allocations: 13.55 kB / 0.7662 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.007258, allocations: 79.16 kB / 0.7663 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.00726, allocations: 3.938 kB / 0.7663 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007261, allocations: 3.938 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.007263, allocations: 1.281 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.007367, allocations: 101.7 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007368, allocations: 0 / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.007397, allocations: 15.98 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007399, allocations: 4.531 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.007404, allocations: 4.844 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007405, allocations: 0 / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007406, allocations: 0 / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.49e-05/0.007491, allocations: 156.4 kB / 0.7666 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.007505, allocations: 19.84 kB / 0.7666 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.007515, allocations: 0.8125 kB / 0.7666 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.007603, allocations: 19.92 kB / 0.7666 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.007618, allocations: 5.25 kB / 0.7666 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.007633, allocations: 7.969 kB / 0.7666 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.007675, allocations: 59.09 kB / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007675, allocations: 1.219 kB / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001623/0.007838, allocations: 27.94 kB / 0.7667 GB, free: 15.46 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.0001662/0.008004, allocations: 106 kB / 0.7668 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.151e-05/0.008085, allocations: 50.55 kB / 0.7669 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.008089, allocations: 4 kB / 0.7669 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.008105, allocations: 17.38 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.008273, allocations: 28.78 kB / 0.7669 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.008581, allocations: 264.7 kB / 0.7672 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.273e-05/0.008624, allocations: 79.31 kB / 0.7672 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.535e-05/0.008679, allocations: 29.7 kB / 0.7673 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.008866, allocations: 115.2 kB / 0.7674 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of SimCode: time 6.52e-07/0.008867, allocations: 3.156 kB / 0.7674 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.004767/0.01363, allocations: 2.731 MB / 0.7701 GB, free: 12.17 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 -s gbode -gbm=radauIIA3 -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.186848416924477]