Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001331/0.001331, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001479/0.001479, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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_12_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.001986/0.001986, allocations: 65.2 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3629, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.00296/0.3659, allocations: 1.497 MB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3677, allocations: 1.197 MB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.3678, allocations: 0 / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.3679, allocations: 19.86 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.3681, allocations: 43.78 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.3683, allocations: 62.72 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.3685, allocations: 147.6 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3686, allocations: 41.22 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3687, allocations: 79.7 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.3689, allocations: 62.38 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.3689, allocations: 8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.369, allocations: 27.98 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.603e-05/0.3691, allocations: 51.81 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.3691, allocations: 63.66 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.3694, allocations: 211.1 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3694, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3694, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3694, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 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.0006752/0.3701, allocations: 421.3 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3702, allocations: 12.02 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.3702, allocations: 16.84 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.3706, allocations: 198.6 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.3708, allocations: 226.2 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.3708, allocations: 4.375 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.3713, allocations: 268.4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3713, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3713, allocations: 4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.3713, allocations: 15.97 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.3714, allocations: 39.97 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3724, allocations: 380.1 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.3725, allocations: 38.56 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.3726, allocations: 28.84 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3726, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3726, allocations: 30.56 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3726, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002698/0.3729, allocations: 109.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3729, allocations: 55.41 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.3732, allocations: 207.8 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.3732, allocations: 29.7 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3733, allocations: 128.1 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3733, allocations: 27.81 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.3734, allocations: 37.64 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3736, allocations: 330.8 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.3736, allocations: 27.97 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3737, allocations: 98.23 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3739, allocations: 138.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3739, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002567/0.3742, allocations: 157.5 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3742, allocations: 9.703 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3742, allocations: 8 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3742, allocations: 4 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.3743, allocations: 27.88 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3743, allocations: 7.984 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.3744, allocations: 19.83 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3744, allocations: 4 kB / 1.332 GB, free: 10.99 MB / 1.029 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.0001353/0.3745, allocations: 149.9 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.3746, allocations: 15.91 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.3748, allocations: 124.3 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3748, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3748, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3748, allocations: 7.922 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.375, allocations: 153.3 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.375, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.3751, allocations: 19.92 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3751, allocations: 4 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3751, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3751, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3751, allocations: 4 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.3753, allocations: 195.3 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.3753, allocations: 15.91 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3754, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3756, allocations: 19.97 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.3756, allocations: 7.984 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.3756, allocations: 11.98 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001503/0.3758, allocations: 161.5 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3758, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002946/0.3761, allocations: 39.88 kB / 1.333 GB, free: 10.02 MB / 1.029 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.0002604/0.3763, allocations: 119.9 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.3765, allocations: 76.31 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3765, allocations: 4.25 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.3765, allocations: 23.98 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3768, allocations: 23.98 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.3774, allocations: 282.8 kB / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3775, allocations: 122.1 kB / 1.333 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000129/0.3776, allocations: 61.23 kB / 1.333 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.3776, allocations: 23.44 kB / 1.333 GB, free: 9.246 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3776, allocations: 0 / 1.333 GB, free: 9.246 MB / 1.029 GB Notification: Performance of Templates: time 0.005833/0.3835, allocations: 2.545 MB / 1.336 GB, free: 6.742 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.075712632387877]