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.001737/0.001737, allocations: 102.3 kB / 19.7 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.00211/0.00211, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.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 3.218/3.218, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 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.002266/0.002266, allocations: 72.2 kB / 1.178 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3401, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002788/0.3428, allocations: 1.513 MB / 1.356 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3445, allocations: 1.239 MB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.3446, allocations: 0 / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.3447, allocations: 19.81 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.3449, allocations: 43.77 kB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.3451, allocations: 54.53 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.3453, allocations: 159.5 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3454, allocations: 29.23 kB / 1.357 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.3455, allocations: 87.75 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.3457, allocations: 59.7 kB / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.3457, allocations: 12 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.12e-05/0.3458, allocations: 27.98 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.3459, allocations: 47.83 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.346, allocations: 75.58 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.3462, allocations: 203.2 kB / 1.358 GB, free: 4.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3462, allocations: 0 / 1.358 GB, free: 4.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3462, allocations: 4 kB / 1.358 GB, free: 4.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3463, allocations: 0 / 1.358 GB, free: 4.398 MB / 1.045 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.0006565/0.3469, allocations: 421.3 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3469, allocations: 12.03 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.347, allocations: 20.8 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.3473, allocations: 202.1 kB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.3475, allocations: 218.2 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3476, allocations: 12.31 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.3479, allocations: 165.6 kB / 1.359 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3479, allocations: 0 / 1.359 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3479, allocations: 7.984 kB / 1.359 GB, free: 3.254 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.348, allocations: 7.984 kB / 1.359 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/0.348, allocations: 41.53 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3491, allocations: 435.5 kB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/0.3491, allocations: 38.56 kB / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.3492, allocations: 20.84 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3492, allocations: 4 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3492, allocations: 42.5 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3492, allocations: 0 / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002619/0.3495, allocations: 105.7 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3495, allocations: 51.41 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3498, allocations: 219.7 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.3498, allocations: 29.7 kB / 1.36 GB, free: 2.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.3499, allocations: 128.1 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.3499, allocations: 27.8 kB / 1.36 GB, free: 2.023 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.35, allocations: 29.72 kB / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3501, allocations: 334.8 kB / 1.36 GB, free: 1.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.3502, allocations: 19.98 kB / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3503, allocations: 106.2 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3505, allocations: 138.2 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3505, allocations: 0 / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002507/0.3507, allocations: 157.3 kB / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3507, allocations: 4 kB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3507, allocations: 4 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3507, allocations: 4 kB / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3508, allocations: 31.92 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3509, allocations: 3.938 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.3509, allocations: 15.92 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3509, allocations: 4.344 kB / 1.36 GB, free: 1.094 MB / 1.045 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.000131/0.3511, allocations: 150.4 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.3511, allocations: 15.91 kB / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3513, allocations: 123.4 kB / 1.361 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3513, allocations: 4 kB / 1.361 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3513, allocations: 3.938 kB / 1.361 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3513, allocations: 0 / 1.361 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3516, allocations: 204.6 kB / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3516, allocations: 0 / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.3516, allocations: 12 kB / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3516, allocations: 7.938 kB / 1.361 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3516, allocations: 7.984 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3516, allocations: 0 / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3516, allocations: 3.938 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3518, allocations: 179.4 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.3519, allocations: 15.91 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3519, allocations: 7.938 kB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3521, allocations: 19.97 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.3521, allocations: 7.938 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3522, allocations: 15.98 kB / 1.361 GB, free: 260 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001473/0.3523, allocations: 157.5 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3523, allocations: 0 / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002961/0.3526, allocations: 39.88 kB / 1.361 GB, free: 64 kB / 1.045 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.0002694/0.3529, allocations: 131.2 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.3531, allocations: 71.83 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3531, allocations: 0 / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.3531, allocations: 32.72 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3534, allocations: 16 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.3539, allocations: 324.4 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3543, allocations: 0.7352 MB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.3543, allocations: 15.44 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3543, allocations: 0 / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of Templates: time 0.00456/0.3589, allocations: 2.64 MB / 1.365 GB, free: 12.07 MB / 1.061 GB " [Timeout remaining time 300] 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 -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] "" 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: 11.618066925992025]