Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009446/0.0009446, allocations: 69.11 kB / 20.65 MB, free: 3.848 MB / 18.57 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.0009518/0.0009518, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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.051/1.051, allocations: 177.1 MB / 204.5 MB, free: 4.988 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002541/0.002541, allocations: 244.9 kB / 261.3 MB, free: 12.48 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7529/0.7529, allocations: 138.5 MB / 456.3 MB, free: 1.438 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5563 GB, free: 296 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.997e-05, allocations: 9.203 kB / 0.5564 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.00389/0.00392, allocations: 1.536 MB / 0.5579 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.005829, allocations: 1.255 MB / 0.5591 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.005911, allocations: 4 kB / 0.5591 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.006132, allocations: 27.78 kB / 0.5591 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.006378, allocations: 35.78 kB / 0.5591 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.006582, allocations: 59.8 kB / 0.5592 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.006801, allocations: 151.5 kB / 0.5593 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.006953, allocations: 37.27 kB / 0.5594 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.007118, allocations: 99.8 kB / 0.5595 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.007275, allocations: 55.81 kB / 0.5595 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.00732, allocations: 8 kB / 0.5595 GB, free: 13 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.007398, allocations: 20 kB / 0.5596 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.007485, allocations: 55.81 kB / 0.5596 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.007554, allocations: 47.89 kB / 0.5597 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.00784, allocations: 183.3 kB / 0.5598 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007843, allocations: 0 / 0.5598 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.007845, allocations: 0 / 0.5598 GB, free: 12.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.00785, allocations: 0 / 0.5598 GB, free: 12.7 MB / 490.7 MB 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.0006376/0.008488, allocations: 0.5113 MB / 0.5603 GB, free: 12.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.008526, allocations: 12.75 kB / 0.5603 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.00861, allocations: 24.84 kB / 0.5604 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.008885, allocations: 204.9 kB / 0.5606 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.009043, allocations: 222.2 kB / 0.5608 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.009071, allocations: 12.38 kB / 0.5608 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.00972, allocations: 177 kB / 0.5609 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.009728, allocations: 192 / 0.5609 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.00975, allocations: 12.06 kB / 0.561 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.009783, allocations: 7.984 kB / 0.561 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.009828, allocations: 19.98 kB / 0.561 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.0105, allocations: 387.9 kB / 0.5614 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.919e-05/0.01056, allocations: 31.05 kB / 0.5614 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.01059, allocations: 19.69 kB / 0.5614 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.01061, allocations: 7.969 kB / 0.5614 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.01064, allocations: 37.39 kB / 0.5614 GB, free: 10.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.01064, allocations: 0 / 0.5614 GB, free: 10.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002108/0.01085, allocations: 77.53 kB / 0.5615 GB, free: 10.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.01088, allocations: 51.41 kB / 0.5616 GB, free: 10.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.01108, allocations: 258.9 kB / 0.5618 GB, free: 10.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.0111, allocations: 29.7 kB / 0.5618 GB, free: 10.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.0112, allocations: 178.8 kB / 0.562 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.01122, allocations: 31.75 kB / 0.562 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.01128, allocations: 43.34 kB / 0.5621 GB, free: 10.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.01143, allocations: 0.5001 MB / 0.5626 GB, free: 9.613 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.01146, allocations: 4 kB / 0.5626 GB, free: 9.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/0.01154, allocations: 116.2 kB / 0.5627 GB, free: 9.445 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.01168, allocations: 148 kB / 0.5628 GB, free: 9.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01168, allocations: 4 kB / 0.5628 GB, free: 9.246 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000198/0.01188, allocations: 117.5 kB / 0.5629 GB, free: 9.125 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.0119, allocations: 4 kB / 0.563 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01191, allocations: 4 kB / 0.563 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.01192, allocations: 4 kB / 0.563 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.01201, allocations: 31.92 kB / 0.563 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01202, allocations: 4 kB / 0.563 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.01208, allocations: 11.94 kB / 0.563 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.01209, allocations: 4 kB / 0.563 GB, free: 9.062 MB / 490.7 MB 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.0001041/0.01219, allocations: 172.6 kB / 0.5632 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.01225, allocations: 19.91 kB / 0.5632 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.01243, allocations: 102.8 kB / 0.5633 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01243, allocations: 0 / 0.5633 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01243, allocations: 0 / 0.5633 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01244, allocations: 0 / 0.5633 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.01263, allocations: 137.2 kB / 0.5634 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01263, allocations: 0 / 0.5634 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.01268, allocations: 27.8 kB / 0.5634 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01268, allocations: 0 / 0.5634 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.01269, allocations: 8 kB / 0.5635 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01269, allocations: 0 / 0.5635 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01269, allocations: 4 kB / 0.5635 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.01288, allocations: 223.8 kB / 0.5637 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.01291, allocations: 23.78 kB / 0.5637 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.01292, allocations: 0 / 0.5637 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.01308, allocations: 15.98 kB / 0.5637 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.01309, allocations: 0 / 0.5637 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.01312, allocations: 15.97 kB / 0.5637 GB, free: 8.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.01324, allocations: 181.3 kB / 0.5639 GB, free: 8.098 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01324, allocations: 0 / 0.5639 GB, free: 8.098 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.01359, allocations: 24 kB / 0.5639 GB, free: 8.074 MB / 490.7 MB 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.0002451/0.01383, allocations: 121.9 kB / 0.564 GB, free: 7.949 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.01397, allocations: 64.67 kB / 0.5641 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01397, allocations: 0 / 0.5641 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.415e-05/0.014, allocations: 27.66 kB / 0.5641 GB, free: 7.852 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.01435, allocations: 38.92 kB / 0.5642 GB, free: 7.816 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.01481, allocations: 258.7 kB / 0.5644 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.013e-05/0.01488, allocations: 83.25 kB / 0.5645 GB, free: 7.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.01499, allocations: 36.34 kB / 0.5645 GB, free: 7.402 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.01527, allocations: 146.1 kB / 0.5647 GB, free: 7.258 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01527, allocations: 64 / 0.5647 GB, free: 7.258 MB / 490.7 MB Notification: Performance of Templates: time 0.006264/0.02153, allocations: 2.781 MB / 0.5674 GB, free: 4.516 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7540090829133987]