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.001671/0.001672, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002344/0.002343, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.609/2.609, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.89 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.6821, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002907/0.685, allocations: 1.55 MB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.6865, allocations: 1.094 MB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.6866, allocations: 0 / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.6868, allocations: 15.92 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.687, allocations: 35.84 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.6872, allocations: 51.91 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.6874, allocations: 147.5 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.6875, allocations: 61.08 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.6876, allocations: 67.77 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.6878, allocations: 55.7 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.6879, allocations: 12 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.688, allocations: 24 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.176e-05/0.6881, allocations: 47.81 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.6881, allocations: 71.56 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.6884, allocations: 189.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6884, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6884, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.6884, allocations: 0 / 1.02 GB, free: 15.39 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.0007204/0.6891, allocations: 0.4909 MB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6892, allocations: 8.031 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.6893, allocations: 16.75 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.6896, allocations: 247.9 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.6898, allocations: 119.4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.6898, allocations: 4.375 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.6902, allocations: 175.3 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.6902, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.6903, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.6903, allocations: 11.98 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.6904, allocations: 39.98 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.6915, allocations: 460.4 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.6916, allocations: 34.58 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.6916, allocations: 20.84 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.6917, allocations: 12.08 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.6917, allocations: 34.56 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.6917, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002721/0.692, allocations: 109.4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.692, allocations: 59.34 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.6922, allocations: 212.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.6923, allocations: 25.7 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.6924, allocations: 132 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.6924, allocations: 23.66 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.6924, allocations: 29.7 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6926, allocations: 330.8 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.6927, allocations: 23.98 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.6928, allocations: 98.22 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.693, allocations: 142.2 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.693, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002477/0.6933, allocations: 157.3 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6933, allocations: 7.984 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6933, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6933, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.6934, allocations: 23.94 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.6934, allocations: 7.922 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.6935, allocations: 11.91 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.6935, allocations: 8 kB / 1.023 GB, free: 12.03 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.000124/0.6936, allocations: 149.9 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.6937, allocations: 19.8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.6939, allocations: 115.1 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.694, allocations: 4 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.694, allocations: 3.938 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.694, allocations: 3.984 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.6942, allocations: 225.6 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6942, allocations: 7.938 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.6943, allocations: 23.92 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6943, allocations: 0 / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6943, allocations: 4 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6943, allocations: 4 kB / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6943, allocations: 3.938 kB / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.6945, allocations: 183.3 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.6946, allocations: 92.86 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.6946, allocations: 3.984 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.6949, allocations: 23.98 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.6949, allocations: 11.92 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.6949, allocations: 7.984 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001978/0.6951, allocations: 164.5 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6951, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003116/0.6954, allocations: 32 kB / 1.024 GB, free: 10.88 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.0002548/0.6957, allocations: 123.4 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.6959, allocations: 75.81 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6959, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.6959, allocations: 24.73 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.6963, allocations: 26.95 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.6968, allocations: 340.9 kB / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.6971, allocations: 0.7316 MB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.6972, allocations: 56.72 kB / 1.025 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.6973, allocations: 19.44 kB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of SimCode: time 1.894e-06/0.6973, allocations: 0 / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.004991/0.7023, allocations: 2.308 MB / 1.028 GB, free: 7.145 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=480 -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