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.001151/0.001151, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002085/0.003236, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001199/0.001199, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.002317, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9944/0.9944, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08748/1.082, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.476/2.476, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2301/2.706, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.693e-05, allocations: 4.422 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002796/0.002813, allocations: 1.587 MB / 0.8205 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.00441, allocations: 1.294 MB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.004472, allocations: 3.938 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.004593, allocations: 15.88 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.004723, allocations: 47.7 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.004896, allocations: 55.84 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.005108, allocations: 147.5 kB / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.005248, allocations: 41.89 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.005437, allocations: 124.5 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.005586, allocations: 43.83 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.005627, allocations: 12 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.005707, allocations: 27.98 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.005776, allocations: 31.81 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.00583, allocations: 27.94 kB / 0.8223 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.006097, allocations: 159.4 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.006109, allocations: 0 / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00611, allocations: 0 / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.006125, allocations: 0 / 0.8224 GB, free: 14.88 MB / 0.8073 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.0006645/0.00679, allocations: 419.6 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.006827, allocations: 8.031 kB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.006902, allocations: 24.91 kB / 0.8229 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.007174, allocations: 177.5 kB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.007324, allocations: 218.2 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.007354, allocations: 4.375 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.007612, allocations: 202.5 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.00762, allocations: 0 / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.007643, allocations: 12 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.007676, allocations: 7.984 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.007712, allocations: 12 kB / 0.8235 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.008287, allocations: 281.5 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.796e-05/0.008335, allocations: 18.58 kB / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.008359, allocations: 20.8 kB / 0.8238 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.008382, allocations: 3.984 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.008406, allocations: 38.56 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.008407, allocations: 0 / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001631/0.00857, allocations: 65.61 kB / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.008597, allocations: 51.41 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.008745, allocations: 191.7 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.008771, allocations: 29.7 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.008831, allocations: 108 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.008855, allocations: 23.8 kB / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.008897, allocations: 29.69 kB / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.008999, allocations: 334.7 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.009022, allocations: 11.98 kB / 0.8246 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.009089, allocations: 86.22 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.009203, allocations: 112.9 kB / 0.8248 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.009206, allocations: 0 / 0.8248 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001489/0.009355, allocations: 97.41 kB / 0.8249 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.00937, allocations: 8 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.009377, allocations: 4.375 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.009392, allocations: 4 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.009491, allocations: 31.92 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.009497, allocations: 3.984 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.009557, allocations: 11.89 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.009569, allocations: 8 kB / 0.825 GB, free: 11.97 MB / 0.8073 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 8.711e-05/0.009656, allocations: 128.5 kB / 0.8251 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.009701, allocations: 15.98 kB / 0.8251 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.009857, allocations: 79.2 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.009859, allocations: 0 / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.009862, allocations: 8 kB / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.009865, allocations: 0 / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.01003, allocations: 105.7 kB / 0.8253 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01003, allocations: 0 / 0.8253 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.01008, allocations: 15.98 kB / 0.8253 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.0101, allocations: 15.89 kB / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.0101, allocations: 0 / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.01011, allocations: 8 kB / 0.8253 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.01011, allocations: 4 kB / 0.8253 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01011, allocations: 3.984 kB / 0.8253 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.01024, allocations: 155.4 kB / 0.8255 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.01025, allocations: 8 kB / 0.8255 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.0104, allocations: 15.98 kB / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.01041, allocations: 0 / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.01043, allocations: 11.97 kB / 0.8255 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.223e-05/0.0105, allocations: 55.09 kB / 0.8256 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0105, allocations: 0 / 0.8256 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002898/0.01079, allocations: 27.94 kB / 0.8256 GB, free: 11.27 MB / 0.8073 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.0002343/0.01102, allocations: 105.2 kB / 0.8257 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.01113, allocations: 49.17 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.01114, allocations: 4 kB / 0.8257 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.01118, allocations: 33.83 kB / 0.8258 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.0115, allocations: 164.7 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.012, allocations: 264 kB / 0.8262 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.01204, allocations: 75.31 kB / 0.8263 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.661e-05/0.0121, allocations: 32.23 kB / 0.8263 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.01227, allocations: 107.2 kB / 0.8264 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.01227, allocations: 0 / 0.8264 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.004409/0.01668, allocations: 2.898 MB / 0.8292 GB, free: 7.531 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.327783961780369]