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.0007978/0.0007978, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009942/0.001792, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007272/0.0007272, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008248/0.001552, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.98/0.98, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09091/1.071, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.398/2.398, allocations: 446.7 MB / 0.6745 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2671/2.665, allocations: 145.9 MB / 0.817 GB, free: 4.262 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.472e-06/1.472e-06, allocations: 0 / 0.8183 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.246e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.001905/0.001917, allocations: 1.578 MB / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.003274, allocations: 1.29 MB / 0.8211 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.003329, allocations: 0 / 0.8211 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.003439, allocations: 19.84 kB / 0.8211 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.003552, allocations: 39.73 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.003711, allocations: 55.84 kB / 0.8212 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.00388, allocations: 147.5 kB / 0.8213 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.004011, allocations: 41.88 kB / 0.8214 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.004175, allocations: 124.5 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.004299, allocations: 51.81 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.004334, allocations: 12 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.004405, allocations: 24 kB / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.004464, allocations: 31.88 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.004519, allocations: 27.94 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.004725, allocations: 155.4 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.004737, allocations: 0 / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004738, allocations: 0 / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.004753, allocations: 0 / 0.8218 GB, free: 15.36 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.0005064/0.00526, allocations: 415.6 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.00529, allocations: 12.03 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.005334, allocations: 16.92 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.005534, allocations: 181.3 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.005639, allocations: 214.2 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.005658, allocations: 8.375 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.005853, allocations: 212 kB / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.005861, allocations: 0 / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.005875, allocations: 0 / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.005901, allocations: 8 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.005929, allocations: 23.92 kB / 0.8228 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.00637, allocations: 277.5 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.006414, allocations: 18.58 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.006436, allocations: 16.98 kB / 0.8231 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.006458, allocations: 7.984 kB / 0.8231 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.006484, allocations: 38.56 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.006485, allocations: 7.938 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001291/0.006614, allocations: 57.91 kB / 0.8232 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.006638, allocations: 51.41 kB / 0.8233 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.006749, allocations: 191.6 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.00677, allocations: 29.7 kB / 0.8235 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.006816, allocations: 112 kB / 0.8236 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.006834, allocations: 23.78 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.006868, allocations: 29.7 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.006948, allocations: 334.7 kB / 0.824 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.006962, allocations: 4 kB / 0.824 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.00701, allocations: 78.23 kB / 0.824 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.007091, allocations: 109 kB / 0.8241 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007093, allocations: 8 kB / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001033/0.007197, allocations: 101.3 kB / 0.8242 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.00721, allocations: 8 kB / 0.8243 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007214, allocations: 80 / 0.8243 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.007224, allocations: 4.375 kB / 0.8243 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.007294, allocations: 27.98 kB / 0.8243 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.007301, allocations: 11.92 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.007339, allocations: 15.89 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.007348, allocations: 11.94 kB / 0.8243 GB, free: 12.44 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 7.053e-05/0.007419, allocations: 124.6 kB / 0.8244 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.007441, allocations: 7.984 kB / 0.8244 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.007549, allocations: 89.27 kB / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007552, allocations: 4 kB / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007554, allocations: 0 / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.007556, allocations: 0 / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.007669, allocations: 121.7 kB / 0.8247 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007671, allocations: 0 / 0.8247 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.0077, allocations: 12 kB / 0.8247 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.007711, allocations: 11.91 kB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007713, allocations: 3.984 kB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.007717, allocations: 0 / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.007719, allocations: 4 kB / 0.8247 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00772, allocations: 0 / 0.8247 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.007811, allocations: 159.4 kB / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.007823, allocations: 0 / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.007908, allocations: 15.98 kB / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.007922, allocations: 7.984 kB / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.007935, allocations: 7.984 kB / 0.8249 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.007986, allocations: 47.11 kB / 0.8249 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007986, allocations: 4 kB / 0.8249 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001767/0.008163, allocations: 27.94 kB / 0.8249 GB, free: 11.75 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.0001904/0.008353, allocations: 111.4 kB / 0.825 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.198e-05/0.008445, allocations: 44.7 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.008451, allocations: 7.984 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.008469, allocations: 20.8 kB / 0.8251 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.008657, allocations: 40.64 kB / 0.8252 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.009106, allocations: 267.9 kB / 0.8254 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.413e-05/0.00915, allocations: 83.27 kB / 0.8255 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.009205, allocations: 30.84 kB / 0.8255 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.009381, allocations: 111.2 kB / 0.8256 GB, free: 11 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.009381, allocations: 0 / 0.8256 GB, free: 11 MB / 0.8073 GB Notification: Performance of Templates: time 0.004227/0.01361, allocations: 2.885 MB / 0.8284 GB, free: 8.16 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.286577610298991]