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.002023/0.002023, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002645/0.002645, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.252/3.252, allocations: 0.49 GB / 0.7958 GB, free: 33.42 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.002001/0.002001, allocations: 71.66 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002978/0.3444, allocations: 1.515 MB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3461, allocations: 1.243 MB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.3462, allocations: 4 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.3464, allocations: 23.84 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.3466, allocations: 31.8 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.3468, allocations: 76.02 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.347, allocations: 147.6 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3471, allocations: 33.23 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3472, allocations: 87.69 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.3475, allocations: 55.77 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.3475, allocations: 16 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.3476, allocations: 23.98 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.3476, allocations: 47.83 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.3477, allocations: 75.58 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.348, allocations: 207.2 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.348, allocations: 0 / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.462e-06/0.348, allocations: 0 / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.348, allocations: 3.938 kB / 1.331 GB, free: 13.9 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.0006907/0.3487, allocations: 421.4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3488, allocations: 11.97 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.3488, allocations: 20.84 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.3492, allocations: 202.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.3494, allocations: 218.2 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3494, allocations: 8.375 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.3497, allocations: 165.6 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3497, allocations: 4 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3498, allocations: 4 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.3498, allocations: 11.98 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.221e-05/0.3499, allocations: 39.97 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.351, allocations: 431.5 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.351, allocations: 38.56 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.3511, allocations: 20.84 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3511, allocations: 8.156 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3511, allocations: 34.5 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3511, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002904/0.3514, allocations: 109.5 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.3515, allocations: 59.41 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.3517, allocations: 223.7 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3517, allocations: 25.7 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.3518, allocations: 124.2 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.3519, allocations: 27.8 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3519, allocations: 25.7 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3521, allocations: 330.8 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.3521, allocations: 23.92 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3522, allocations: 106.2 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.3524, allocations: 142.2 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3524, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002567/0.3527, allocations: 153.3 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3527, allocations: 4.375 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3527, allocations: 8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3527, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3528, allocations: 27.92 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3528, allocations: 4.25 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.3529, allocations: 11.89 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3529, allocations: 12 kB / 1.334 GB, free: 10.6 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.0001372/0.3531, allocations: 145.7 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.3531, allocations: 15.91 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.3534, allocations: 129.2 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3534, allocations: 4 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3534, allocations: 3.938 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3534, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.3536, allocations: 200.6 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3536, allocations: 4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.3537, allocations: 15.94 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3537, allocations: 3.984 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3537, allocations: 4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3537, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3537, allocations: 3.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3539, allocations: 187.4 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.3539, allocations: 11.91 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3539, allocations: 0 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.3542, allocations: 27.91 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.3542, allocations: 7.938 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.3542, allocations: 15.97 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000146/0.3544, allocations: 161.5 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3544, allocations: 3.938 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002955/0.3547, allocations: 31.88 kB / 1.334 GB, free: 9.562 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.0002689/0.3549, allocations: 128.5 kB / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3551, allocations: 79.81 kB / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3551, allocations: 0 / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.3552, allocations: 23.98 kB / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3555, allocations: 17.88 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.356, allocations: 317.2 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3564, allocations: 0.7314 MB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.3564, allocations: 19.44 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3564, allocations: 3.938 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of Templates: time 0.004853/0.3613, allocations: 2.649 MB / 1.338 GB, free: 5.586 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/jenkins1/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] "" Variables in the reference:time,weeSchLin.y[1],weeSchLin.y[2],weeSchLin.y[3],weeSchLin.y[4] Variables in the result:time,weeSchLin.y[1],weeSchLin.y[2],weeSchLin.y[3],weeSchLin.y[4] [Calling sys.exit(0), Time elapsed: 12.191852691990789]