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.001914/0.001913, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00236/0.00236, allocations: 193.2 kB / 16.14 MB, free: 6.629 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.508 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.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5641/0.5661, allocations: 151.6 MB / 1.017 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002943/0.5691, allocations: 1.55 MB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.5707, allocations: 1.089 MB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.5707, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.5709, allocations: 11.94 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.5711, allocations: 43.77 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.5713, allocations: 55.92 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.5715, allocations: 135.6 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.5717, allocations: 69.14 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/0.5718, allocations: 75.62 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.5719, allocations: 57.94 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.572, allocations: 8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.5721, allocations: 24 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.5722, allocations: 43.88 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.706e-05/0.5723, allocations: 63.59 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.5725, allocations: 193.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5725, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.92e-07/0.5725, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.5725, allocations: 0 / 1.02 GB, free: 15.49 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.000727/0.5733, allocations: 490.7 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.5733, allocations: 8.031 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.5734, allocations: 20.69 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.5737, allocations: 263.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.5739, allocations: 119.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.5739, allocations: 8.375 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.5743, allocations: 153.7 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5743, allocations: 3.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.5743, allocations: 7.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.5744, allocations: 8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.5745, allocations: 39.97 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.5756, allocations: 460.4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.5757, allocations: 38.56 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.5757, allocations: 20.86 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.5758, allocations: 16.12 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.5758, allocations: 30.56 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.5758, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002897/0.5761, allocations: 105.4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.5761, allocations: 51.41 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.5764, allocations: 220.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.5764, allocations: 29.7 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.5765, allocations: 128 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.5766, allocations: 27.62 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.5766, allocations: 25.72 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5768, allocations: 330.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.5769, allocations: 27.92 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.577, allocations: 106.2 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.5772, allocations: 146.1 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5772, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002517/0.5774, allocations: 149.2 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5775, allocations: 8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5775, allocations: 4.375 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5775, allocations: 8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.5776, allocations: 23.92 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.5776, allocations: 11.94 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.5777, allocations: 7.906 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.5777, allocations: 8 kB / 1.023 GB, free: 12.13 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.0001546/0.5779, allocations: 150.2 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.5779, allocations: 15.81 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.5782, allocations: 115.2 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5782, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.5782, allocations: 7.938 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5782, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.5786, allocations: 229.6 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5786, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.5786, allocations: 12 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5786, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5786, allocations: 7.922 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5787, allocations: 3.938 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5787, allocations: 3.938 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.5789, allocations: 199.3 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.579, allocations: 92.86 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.579, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.5793, allocations: 19.97 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.5794, allocations: 11.88 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.5794, allocations: 11.98 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000173/0.5796, allocations: 164.5 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5796, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003157/0.5799, allocations: 32 kB / 1.024 GB, free: 10.98 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.0003506/0.5802, allocations: 126.1 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.5805, allocations: 71.89 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5805, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.5805, allocations: 23.94 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.5809, allocations: 19.84 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.5815, allocations: 340.7 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.582, allocations: 0.7394 MB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.5821, allocations: 48.73 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.5822, allocations: 19.42 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.5822, allocations: 0 / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of Templates: time 0.005812/0.588, allocations: 2.315 MB / 1.028 GB, free: 7.254 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