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.00111/0.00111, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001756/0.002866, allocations: 449.7 kB / 10.37 MB, free: 328 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.001124/0.001124, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002534, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9136/0.9136, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08451/0.9981, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.794/1.794, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4351/2.229, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.114e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.001887/0.001898, allocations: 1.589 MB / 0.7309 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.002902, allocations: 1.278 MB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.002936, allocations: 4.562 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.241e-05/0.003018, allocations: 16.95 kB / 0.7321 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.003108, allocations: 43.89 kB / 0.7322 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.003225, allocations: 58.16 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.003365, allocations: 144.2 kB / 0.7324 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.003459, allocations: 38.56 kB / 0.7324 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.003589, allocations: 131.6 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.003683, allocations: 51.33 kB / 0.7326 GB, free: 1.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.003705, allocations: 8 kB / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.266e-05/0.003758, allocations: 24.8 kB / 0.7326 GB, free: 1.199 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.003803, allocations: 35.88 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.003845, allocations: 29.34 kB / 0.7327 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.00401, allocations: 155.4 kB / 0.7328 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.00402, allocations: 0 / 0.7328 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004021, allocations: 0 / 0.7328 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.004032, allocations: 0.5312 kB / 0.7328 GB, free: 0.9844 MB / 0.698 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.0004291/0.004462, allocations: 412.9 kB / 0.7332 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.383e-05/0.004485, allocations: 8.031 kB / 0.7332 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.004523, allocations: 20.91 kB / 0.7332 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.004687, allocations: 191.4 kB / 0.7334 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.444e-05/0.004781, allocations: 214.2 kB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.004799, allocations: 4.375 kB / 0.7336 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.004957, allocations: 192.3 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.004962, allocations: 1.781 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.004975, allocations: 8.125 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.004995, allocations: 11.92 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.005021, allocations: 19.94 kB / 0.7339 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.005397, allocations: 279.6 kB / 0.7341 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.005438, allocations: 31.95 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.005453, allocations: 8.859 kB / 0.7342 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.005471, allocations: 7.984 kB / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.005489, allocations: 34.56 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.00549, allocations: 0.5 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001085/0.005599, allocations: 59.02 kB / 0.7343 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.005624, allocations: 55.41 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.005724, allocations: 187.6 kB / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.005742, allocations: 29.7 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.005783, allocations: 116.6 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.005798, allocations: 17.06 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.005829, allocations: 33.69 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/0.005898, allocations: 326.8 kB / 0.735 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.005913, allocations: 12.95 kB / 0.735 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.005957, allocations: 74.3 kB / 0.7351 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.006038, allocations: 113.4 kB / 0.7352 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.006042, allocations: 7.938 kB / 0.7352 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.58e-05/0.006137, allocations: 95.72 kB / 0.7353 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.006148, allocations: 8.75 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.006153, allocations: 0 / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.006163, allocations: 8.734 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.006229, allocations: 27.92 kB / 0.7353 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.006235, allocations: 10.05 kB / 0.7353 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.006269, allocations: 19.83 kB / 0.7353 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.006276, allocations: 4 kB / 0.7354 GB, free: 14.1 MB / 0.7136 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 6.658e-05/0.006342, allocations: 132.5 kB / 0.7355 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.006364, allocations: 7.984 kB / 0.7355 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.843e-05/0.006462, allocations: 88.73 kB / 0.7356 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006464, allocations: 0 / 0.7356 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006465, allocations: 0 / 0.7356 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006468, allocations: 1.25 kB / 0.7356 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.006599, allocations: 105.8 kB / 0.7357 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0066, allocations: 0 / 0.7357 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.00665, allocations: 15.98 kB / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.006665, allocations: 17.09 kB / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006666, allocations: 3.938 kB / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.006669, allocations: 0 / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006671, allocations: 3.25 kB / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.006673, allocations: 4 kB / 0.7357 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.007005, allocations: 159.4 kB / 0.7359 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.007015, allocations: 0 / 0.7359 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.007099, allocations: 11.98 kB / 0.7359 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.00711, allocations: 4 kB / 0.7359 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.007126, allocations: 15.97 kB / 0.7359 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.007167, allocations: 55.09 kB / 0.7359 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007168, allocations: 3.031 kB / 0.736 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001646/0.007332, allocations: 31.94 kB / 0.736 GB, free: 13.41 MB / 0.7136 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.0001422/0.007474, allocations: 105.4 kB / 0.7361 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.716e-05/0.007552, allocations: 52.27 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.007555, allocations: 4 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.007574, allocations: 24.77 kB / 0.7362 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.007742, allocations: 47.89 kB / 0.7362 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.008147, allocations: 259 kB / 0.7365 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.008188, allocations: 87.11 kB / 0.7365 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.562e-05/0.008244, allocations: 31.47 kB / 0.7366 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.008422, allocations: 103.3 kB / 0.7367 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/0.008423, allocations: 4 kB / 0.7367 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of Templates: time 0.003902/0.01233, allocations: 2.917 MB / 0.7395 GB, free: 9.91 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings/Buildings_12_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: 4.913855348713696]