Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001556/0.001556, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001708/0.001708, allocations: 157.1 kB / 23.01 MB, free: 4.605 MB / 14.72 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.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.617/2.617, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 71.89 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2775, allocations: 169.9 MB / 1.117 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002918/0.2804, allocations: 1.504 MB / 1.119 GB, free: 1.074 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2821, allocations: 1.201 MB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.2822, allocations: 3.938 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.2823, allocations: 23.84 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.2825, allocations: 43.8 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.2827, allocations: 51.89 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.2829, allocations: 159.5 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.283, allocations: 33.22 kB / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2831, allocations: 83.81 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.2833, allocations: 55.7 kB / 1.121 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.2833, allocations: 12 kB / 1.121 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.2834, allocations: 35.98 kB / 1.121 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.2835, allocations: 51.77 kB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.418e-05/0.2836, allocations: 67.69 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.2839, allocations: 195.2 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2839, allocations: 0 / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2839, allocations: 0 / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.2839, allocations: 0 / 1.121 GB, free: 15.07 MB / 1.076 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.000665/0.2846, allocations: 421.3 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2846, allocations: 12.03 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.2847, allocations: 28.83 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.285, allocations: 195.7 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.2852, allocations: 222.2 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2852, allocations: 4.375 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.2856, allocations: 264.5 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2856, allocations: 0 / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.2856, allocations: 4 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.2857, allocations: 11.98 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.11e-05/0.2857, allocations: 51.91 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.2868, allocations: 376.1 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.2869, allocations: 34.52 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.2869, allocations: 24.84 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.2869, allocations: 0 / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2869, allocations: 34.56 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.287, allocations: 4 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0002658/0.2872, allocations: 105.6 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.2873, allocations: 55.34 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.2875, allocations: 215.8 kB / 1.123 GB, free: 12.83 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.2875, allocations: 29.7 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.2876, allocations: 128.1 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.2877, allocations: 27.89 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.2877, allocations: 33.7 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2878, allocations: 326.8 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.2879, allocations: 31.97 kB / 1.123 GB, free: 12.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.288, allocations: 98.3 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.2882, allocations: 142.1 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2882, allocations: 3.938 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002596/0.2885, allocations: 153.3 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2885, allocations: 7.984 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2885, allocations: 4.375 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2885, allocations: 8 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.2886, allocations: 20 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.2886, allocations: 7.922 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.2887, allocations: 15.89 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2887, allocations: 8 kB / 1.124 GB, free: 11.7 MB / 1.076 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.0001303/0.2888, allocations: 141.8 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.2889, allocations: 15.91 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.2891, allocations: 119.2 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2891, allocations: 0 / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2891, allocations: 0 / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2891, allocations: 11.92 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2893, allocations: 153.3 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2893, allocations: 0 / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.2894, allocations: 19.92 kB / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2894, allocations: 0 / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2894, allocations: 4 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2894, allocations: 4 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2894, allocations: 0 / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2896, allocations: 199.2 kB / 1.124 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.2897, allocations: 19.84 kB / 1.124 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2897, allocations: 3.984 kB / 1.124 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.2899, allocations: 23.97 kB / 1.125 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.29, allocations: 3.984 kB / 1.125 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.29, allocations: 15.98 kB / 1.125 GB, free: 10.92 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001603/0.2901, allocations: 157.5 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2901, allocations: 0 / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003127/0.2905, allocations: 31.94 kB / 1.125 GB, free: 10.74 MB / 1.076 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.0002447/0.2907, allocations: 124.7 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.2909, allocations: 67.84 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2909, allocations: 0 / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.2909, allocations: 27.92 kB / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.2912, allocations: 17.36 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.2917, allocations: 298.6 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2918, allocations: 114.2 kB / 1.125 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000122/0.292, allocations: 56.81 kB / 1.125 GB, free: 9.996 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.292, allocations: 16.5 kB / 1.125 GB, free: 9.977 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.292, allocations: 0 / 1.125 GB, free: 9.977 MB / 1.076 GB Notification: Performance of Templates: time 0.005823/0.2978, allocations: 2.455 MB / 1.128 GB, free: 7.562 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.075068389065564]