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.0008327/0.0008327, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008248/0.0008248, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 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 0.9036/0.9036, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/2.031e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002707/0.002727, allocations: 1.508 MB / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.0042, allocations: 1.212 MB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.004258, allocations: 4 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.004447, allocations: 15.86 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.004675, allocations: 43.72 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.004855, allocations: 67.72 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.005055, allocations: 151.5 kB / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.005184, allocations: 29.3 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.005317, allocations: 111.8 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.005441, allocations: 39.91 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.005476, allocations: 12 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.005549, allocations: 35.97 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.005627, allocations: 47.83 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.005693, allocations: 51.83 kB / 0.9842 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.005967, allocations: 219.3 kB / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.005969, allocations: 0 / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00597, allocations: 0 / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.005974, allocations: 0 / 0.9844 GB, free: 15.08 MB / 0.948 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.0006238/0.006598, allocations: 421.3 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.006639, allocations: 8.031 kB / 0.9848 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.006689, allocations: 46.73 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.006753, allocations: 20.8 kB / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.007035, allocations: 205.2 kB / 0.985 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.007188, allocations: 218.2 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.007202, allocations: 8.375 kB / 0.9853 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.007541, allocations: 260.9 kB / 0.9855 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.007551, allocations: 192 / 0.9855 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.007576, allocations: 7.922 kB / 0.9855 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.007602, allocations: 23.88 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.007686, allocations: 39.97 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.0085, allocations: 407.6 kB / 0.986 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.008576, allocations: 34.56 kB / 0.986 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.008616, allocations: 20.84 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.008642, allocations: 4 kB / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.008667, allocations: 38.56 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.008668, allocations: 0 / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.000274/0.008942, allocations: 101.5 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.008978, allocations: 55.41 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.009193, allocations: 219.8 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.009219, allocations: 29.7 kB / 0.9865 GB, free: 12.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.009295, allocations: 124.3 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.009321, allocations: 27.8 kB / 0.9866 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.009371, allocations: 29.7 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.00948, allocations: 334.8 kB / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.009533, allocations: 23.98 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.632e-05/0.00963, allocations: 98.28 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.009792, allocations: 142.1 kB / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.009796, allocations: 4 kB / 0.9872 GB, free: 11.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002423/0.01004, allocations: 149.3 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01005, allocations: 4.375 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01006, allocations: 8 kB / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01007, allocations: 4 kB / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01017, allocations: 31.92 kB / 0.9874 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.01018, allocations: 4 kB / 0.9874 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.01025, allocations: 15.83 kB / 0.9874 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01026, allocations: 7.938 kB / 0.9874 GB, free: 11.62 MB / 0.948 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.0001161/0.01038, allocations: 153.7 kB / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.01044, allocations: 15.91 kB / 0.9876 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.01064, allocations: 114.3 kB / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01064, allocations: 0 / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01065, allocations: 4 kB / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01065, allocations: 0 / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.01087, allocations: 184.6 kB / 0.9879 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.01087, allocations: 4 kB / 0.9879 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.01091, allocations: 15.98 kB / 0.9879 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01092, allocations: 7.938 kB / 0.9879 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.01092, allocations: 4 kB / 0.9879 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01093, allocations: 0 / 0.9879 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01093, allocations: 0 / 0.9879 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.01111, allocations: 195.4 kB / 0.9881 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.01112, allocations: 11.89 kB / 0.9881 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01114, allocations: 7.984 kB / 0.9881 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.01133, allocations: 19.98 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.01135, allocations: 7.984 kB / 0.9881 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.01137, allocations: 7.984 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001299/0.0115, allocations: 161.5 kB / 0.9883 GB, free: 10.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.0115, allocations: 0 / 0.9883 GB, free: 10.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003539/0.01186, allocations: 39.83 kB / 0.9883 GB, free: 10.62 MB / 0.948 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.0005197/0.01238, allocations: 0.7435 MB / 0.9891 GB, free: 9.855 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01252, allocations: 67.84 kB / 0.9891 GB, free: 9.789 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01253, allocations: 0 / 0.9891 GB, free: 9.789 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.01257, allocations: 28.72 kB / 0.9891 GB, free: 9.762 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.01289, allocations: 23.98 kB / 0.9892 GB, free: 9.738 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.01471, allocations: 1.909 MB / 0.991 GB, free: 7.672 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.01481, allocations: 126.2 kB / 0.9912 GB, free: 7.531 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.01493, allocations: 55.31 kB / 0.9912 GB, free: 7.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.01501, allocations: 48.48 kB / 0.9913 GB, free: 7.434 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.01501, allocations: 3.938 kB / 0.9913 GB, free: 7.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.03456, allocations: 5.045 MB / 0.9962 GB, free: 2.586 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.261, allocations: 16.73 kB / 0.9962 GB, free: 2.574 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.33476542122662]