Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.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.001814/0.001814, allocations: 79.42 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.002082/0.002082, allocations: 165.6 kB / 23.01 MB, free: 4.598 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.412/1.412, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.988/2.988, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [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.002253/0.002253, allocations: 71.89 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.7549, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002568/0.7575, allocations: 1.509 MB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.759, allocations: 1.202 MB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.759, allocations: 1.375 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.7592, allocations: 22.53 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.7594, allocations: 41.05 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.7596, allocations: 67.16 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.7597, allocations: 142.8 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.7599, allocations: 35.02 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.76, allocations: 84.05 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.7601, allocations: 54.36 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.7602, allocations: 15.28 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.7603, allocations: 30.05 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.7603, allocations: 48.84 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.7604, allocations: 55.22 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.7607, allocations: 212.5 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7607, allocations: 3.938 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7607, allocations: 0 / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.7607, allocations: 0 / 1.19 GB, free: 13.98 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.0006443/0.7614, allocations: 417.5 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.7614, allocations: 14.12 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.7615, allocations: 25.66 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.7618, allocations: 198.1 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.7619, allocations: 220.5 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.7619, allocations: 8.188 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.7622, allocations: 264.1 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7622, allocations: 0 / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.7623, allocations: 1 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.7623, allocations: 13.2 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.7624, allocations: 46.12 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.7633, allocations: 379.3 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.7634, allocations: 31.12 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.7634, allocations: 21.92 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.7635, allocations: 8.578 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.7635, allocations: 37.52 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.7635, allocations: 0 / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0002541/0.7637, allocations: 106.9 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.7637, allocations: 56.44 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.7639, allocations: 213 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.764, allocations: 27.7 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.764, allocations: 126 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.764, allocations: 32.86 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.7641, allocations: 27.38 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.7641, allocations: 332.4 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.7642, allocations: 23.72 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.7642, allocations: 109.5 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.7644, allocations: 138.6 kB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7644, allocations: 1.125 kB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002254/0.7646, allocations: 150.6 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7646, allocations: 6.953 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7646, allocations: 2.719 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7646, allocations: 8 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.7647, allocations: 26.36 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7647, allocations: 3.922 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.7648, allocations: 12.45 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.7648, allocations: 10.75 kB / 1.193 GB, free: 11.55 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 9.325e-05/0.7649, allocations: 152.1 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.765, allocations: 16.33 kB / 1.193 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.7652, allocations: 116.9 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7652, allocations: 1.125 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7652, allocations: 0 / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7652, allocations: 9.703 kB / 1.193 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.7654, allocations: 152.9 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7654, allocations: 0 / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.7654, allocations: 17.34 kB / 1.193 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.7654, allocations: 0.7969 kB / 1.193 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.7654, allocations: 6.188 kB / 1.193 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7654, allocations: 4.594 kB / 1.193 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7654, allocations: 5.094 kB / 1.193 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.7656, allocations: 194.4 kB / 1.194 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.7656, allocations: 17.02 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.7656, allocations: 5.062 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.7659, allocations: 21.42 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.7659, allocations: 5.156 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.7659, allocations: 11.69 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001253/0.7661, allocations: 162.4 kB / 1.194 GB, free: 10.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.7661, allocations: 0 / 1.194 GB, free: 10.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003211/0.7664, allocations: 32.16 kB / 1.194 GB, free: 10.9 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.0001999/0.7666, allocations: 137.3 kB / 1.194 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.7667, allocations: 73.59 kB / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7667, allocations: 0 / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.7668, allocations: 23.34 kB / 1.194 GB, free: 10.76 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.7671, allocations: 24.73 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.7675, allocations: 290.3 kB / 1.194 GB, free: 10.56 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.7676, allocations: 122.2 kB / 1.194 GB, free: 10.47 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.7677, allocations: 51.81 kB / 1.195 GB, free: 10.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.7678, allocations: 20.98 kB / 1.195 GB, free: 10.46 MB / 1.076 GB Notification: Performance of SimCode: time 4e-07/0.7678, allocations: 0.75 kB / 1.195 GB, free: 10.46 MB / 1.076 GB Notification: Performance of Templates: time 0.005779/0.7736, allocations: 2.457 MB / 1.197 GB, free: 10.14 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.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.560777298989706]