Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 198.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.636, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003039/0.6391, allocations: 1.481 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.6407, allocations: 1.101 MB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.6408, allocations: 4 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.641, allocations: 19.86 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.6413, allocations: 35.78 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.6415, allocations: 67.83 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.6417, allocations: 143.6 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.6419, allocations: 69.09 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.642, allocations: 83.69 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.6422, allocations: 55.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.6423, allocations: 12 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.6424, allocations: 24 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.6425, allocations: 51.88 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.6426, allocations: 75.53 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.6429, allocations: 193.4 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6429, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6429, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.6429, allocations: 4 kB / 1.021 GB, free: 15.08 MB / 0.7794 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.0007909/0.6437, allocations: 0.4908 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6438, allocations: 12.03 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.6439, allocations: 16.75 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.6442, allocations: 255.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.6444, allocations: 123.4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.6444, allocations: 4.375 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.6448, allocations: 167.7 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.6448, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.6448, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.6449, allocations: 8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.645, allocations: 43.91 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6461, allocations: 456.4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.6462, allocations: 38.5 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.6463, allocations: 24.84 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.6463, allocations: 12.14 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.6463, allocations: 34.56 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.123e-06/0.6463, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002914/0.6466, allocations: 101.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.6467, allocations: 51.41 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.6469, allocations: 220.7 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.647, allocations: 25.7 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.6471, allocations: 128.1 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.6471, allocations: 35.53 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.6472, allocations: 33.64 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6473, allocations: 326.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.6474, allocations: 23.98 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.6475, allocations: 102.3 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.6477, allocations: 138.1 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6477, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002626/0.648, allocations: 153.2 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.648, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.648, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6481, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.6482, allocations: 23.98 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.6482, allocations: 12.25 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.6483, allocations: 11.91 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.6483, allocations: 8 kB / 1.024 GB, free: 11.71 MB / 0.7794 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.0001434/0.6484, allocations: 146.4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.6485, allocations: 15.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.6487, allocations: 127.4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6488, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6488, allocations: 3.938 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6488, allocations: 8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.649, allocations: 229.6 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6491, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.6491, allocations: 15.98 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6491, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6491, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.6491, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6492, allocations: 7.875 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.6494, allocations: 191.3 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.6494, allocations: 96.86 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.6495, allocations: 4 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.6497, allocations: 15.97 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.6497, allocations: 11.94 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.6498, allocations: 15.97 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001496/0.6499, allocations: 156.5 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6499, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002956/0.6502, allocations: 27.98 kB / 1.025 GB, free: 10.56 MB / 0.7794 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.0002547/0.6505, allocations: 124.8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.6507, allocations: 76.33 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6507, allocations: 8.25 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.411e-05/0.6508, allocations: 27.92 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.6511, allocations: 25.2 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.6516, allocations: 283 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.652, allocations: 0.7352 MB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.6521, allocations: 48.78 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.6522, allocations: 19.44 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.6522, allocations: 4 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of Templates: time 0.005738/0.6579, allocations: 2.372 MB / 1.028 GB, free: 6.816 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches