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.001934/0.001934, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 189.1 kB / 16.25 MB, free: 6.621 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.803/2.803, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6355/0.6374, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002885/0.6403, allocations: 1.546 MB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.6419, allocations: 1.089 MB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.642, allocations: 0 / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.6422, allocations: 19.92 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.6423, allocations: 39.83 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.6425, allocations: 51.92 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.6427, allocations: 143.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.6429, allocations: 69.06 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.763e-05/0.643, allocations: 75.77 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.6432, allocations: 59.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.6432, allocations: 12 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.6433, allocations: 31.98 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.6434, allocations: 43.83 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.477e-05/0.6435, allocations: 79.58 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.6438, allocations: 197.4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6438, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6438, allocations: 3.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.6438, allocations: 0 / 1.02 GB, free: 15.23 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.0007257/0.6445, allocations: 498.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6446, allocations: 15.95 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.6447, allocations: 20.75 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.645, allocations: 247.9 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.6452, allocations: 123.4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.6452, allocations: 8.359 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.6456, allocations: 165.6 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6456, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.6456, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.6457, allocations: 8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.6458, allocations: 47.97 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.6469, allocations: 456.4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.6469, allocations: 38.56 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.647, allocations: 20.84 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.647, allocations: 8.141 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.6471, allocations: 34.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.6471, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003013/0.6474, allocations: 113.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.6474, allocations: 55.39 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.6477, allocations: 212.8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.6477, allocations: 25.7 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.6478, allocations: 128.1 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.6478, allocations: 27.56 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.6479, allocations: 33.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6481, allocations: 322.8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.6481, allocations: 27.98 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.6483, allocations: 98.28 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.6484, allocations: 142.1 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.6485, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002557/0.6487, allocations: 149.5 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6487, allocations: 8.062 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6488, allocations: 7.984 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6488, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.6489, allocations: 27.92 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.6489, allocations: 7.938 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.649, allocations: 19.89 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.649, allocations: 4 kB / 1.023 GB, free: 11.86 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.0001331/0.6491, allocations: 142.2 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.6492, allocations: 23.73 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.6495, allocations: 119.5 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6495, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6495, allocations: 7.875 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6495, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.6498, allocations: 229.6 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6498, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.6498, allocations: 19.92 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.6498, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.6499, allocations: 8 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6499, allocations: 4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6499, allocations: 4.016 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.6501, allocations: 187.3 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.6502, allocations: 92.86 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.6502, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.6505, allocations: 23.97 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.6505, allocations: 11.94 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.6505, allocations: 15.97 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001541/0.6507, allocations: 160.5 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6507, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003192/0.651, allocations: 32 kB / 1.024 GB, free: 10.71 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.0002774/0.6513, allocations: 124.6 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.6515, allocations: 79.81 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6515, allocations: 4 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.6516, allocations: 23.98 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.6519, allocations: 20.61 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.6524, allocations: 331 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.6528, allocations: 0.7352 MB / 1.025 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.6529, allocations: 56.72 kB / 1.025 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.653, allocations: 23.38 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.653, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.005789/0.6588, allocations: 2.359 MB / 1.028 GB, free: 6.93 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