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.001623/0.001623, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001726/0.001726, allocations: 157.3 kB / 23.01 MB, free: 4.945 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.406/1.406, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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 2.735/2.735, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.002154/0.002154, allocations: 67.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7713, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002959/0.7742, allocations: 1.499 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.7758, allocations: 1.203 MB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.7759, allocations: 3.938 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.7761, allocations: 22.2 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.7763, allocations: 42.16 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.7765, allocations: 58.36 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.7767, allocations: 149.7 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.7769, allocations: 33.02 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.777, allocations: 82.69 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.7771, allocations: 55.61 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.7772, allocations: 11.41 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.7773, allocations: 26.64 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.7774, allocations: 48.91 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.7774, allocations: 67.81 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.7777, allocations: 194.5 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.7777, allocations: 0 / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7777, allocations: 0 / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7777, allocations: 4 kB / 1.157 GB, free: 31.11 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.0006122/0.7783, allocations: 421.6 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.7784, allocations: 11 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.7785, allocations: 16.94 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.7788, allocations: 206.9 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.7789, allocations: 230.4 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.779, allocations: 5.406 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.7794, allocations: 258.8 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7794, allocations: 4 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.7794, allocations: 4 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.7794, allocations: 12.36 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.7796, allocations: 40.3 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.7807, allocations: 381.8 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.7808, allocations: 37.2 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.7808, allocations: 26.36 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.7808, allocations: 5.953 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.7808, allocations: 30.56 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7809, allocations: 2.688 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0003199/0.7812, allocations: 104.6 kB / 1.159 GB, free: 29.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.7812, allocations: 54.84 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.7814, allocations: 216.6 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.7814, allocations: 25.7 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.7815, allocations: 131.2 kB / 1.159 GB, free: 29.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.7815, allocations: 36.88 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.7816, allocations: 29.31 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.7816, allocations: 331 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.7817, allocations: 31.88 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-05/0.7818, allocations: 106.2 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.782, allocations: 139.3 kB / 1.16 GB, free: 28.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.782, allocations: 2.969 kB / 1.16 GB, free: 28.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003097/0.7823, allocations: 155.6 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.7823, allocations: 8.875 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7823, allocations: 2.938 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7823, allocations: 2.906 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.7824, allocations: 22.45 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7825, allocations: 6.781 kB / 1.16 GB, free: 28.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.7826, allocations: 14.73 kB / 1.16 GB, free: 28.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.7826, allocations: 8.594 kB / 1.16 GB, free: 28.65 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.0001104/0.7827, allocations: 145.9 kB / 1.16 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.7828, allocations: 17.78 kB / 1.16 GB, free: 28.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.783, allocations: 123.3 kB / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.783, allocations: 3.125 kB / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.783, allocations: 0 / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.783, allocations: 3.938 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.7833, allocations: 160.2 kB / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7833, allocations: 0 / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.7833, allocations: 15.11 kB / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7833, allocations: 0 / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.7833, allocations: 0 / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.7833, allocations: 2.781 kB / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7833, allocations: 4 kB / 1.161 GB, free: 28.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.7835, allocations: 191.1 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.7836, allocations: 21.75 kB / 1.161 GB, free: 28.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.7836, allocations: 0 / 1.161 GB, free: 28.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.7839, allocations: 17.56 kB / 1.161 GB, free: 28.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.784, allocations: 6.219 kB / 1.161 GB, free: 28.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.784, allocations: 13.05 kB / 1.161 GB, free: 28.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001531/0.7842, allocations: 159.6 kB / 1.161 GB, free: 28.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7842, allocations: 0 / 1.161 GB, free: 28.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004845/0.7846, allocations: 34.03 kB / 1.161 GB, free: 28.01 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.0002241/0.7849, allocations: 147.3 kB / 1.161 GB, free: 27.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.7851, allocations: 68.78 kB / 1.161 GB, free: 27.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7851, allocations: 4.25 kB / 1.161 GB, free: 27.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.7851, allocations: 32.41 kB / 1.161 GB, free: 27.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.7856, allocations: 16.12 kB / 1.161 GB, free: 27.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.7862, allocations: 287.9 kB / 1.162 GB, free: 27.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.7863, allocations: 125.1 kB / 1.162 GB, free: 27.58 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.7865, allocations: 54.03 kB / 1.162 GB, free: 27.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.7865, allocations: 18.41 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/0.7865, allocations: 0 / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of Templates: time 0.006877/0.7934, allocations: 2.464 MB / 1.164 GB, free: 27.24 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.224090298055671]