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.00213/0.00213, allocations: 119 kB / 17.17 MB, free: 5.906 MB / 14.72 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.003105/0.003105, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 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.676/1.676, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.043/3.043, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.89 kB / 1.149 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.071, allocations: 176.1 MB / 1.321 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002216/1.073, allocations: 1.511 MB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00116/1.074, allocations: 1.153 MB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/1.074, allocations: 3.938 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/1.074, allocations: 25.11 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/1.074, allocations: 32.86 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/1.075, allocations: 63.39 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/1.075, allocations: 150.2 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/1.075, allocations: 48.89 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/1.075, allocations: 86.14 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/1.075, allocations: 59.31 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/1.075, allocations: 10.88 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/1.075, allocations: 19.75 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/1.075, allocations: 55.84 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/1.075, allocations: 76.94 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/1.076, allocations: 195.9 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.076, allocations: 3.938 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/1.076, allocations: 4 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.076, allocations: 0 / 1.325 GB, free: 22.45 MB / 1.061 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.0005934/1.076, allocations: 0.4901 MB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/1.076, allocations: 12.61 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/1.076, allocations: 192 / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/1.076, allocations: 44.38 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/1.076, allocations: 17.44 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/1.077, allocations: 262.8 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/1.077, allocations: 123.5 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/1.077, allocations: 11.16 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/1.077, allocations: 157.1 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.077, allocations: 0 / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/1.077, allocations: 2.5 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/1.077, allocations: 16.73 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/1.077, allocations: 39.72 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009747/1.078, allocations: 463.8 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.507e-05/1.078, allocations: 32.55 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/1.078, allocations: 26.47 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/1.078, allocations: 6.906 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.078, allocations: 33 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.113e-06/1.078, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0002574/1.079, allocations: 111.2 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/1.079, allocations: 58.31 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/1.079, allocations: 209.6 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/1.079, allocations: 29.7 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/1.079, allocations: 131.7 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/1.079, allocations: 28.39 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/1.079, allocations: 32.2 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/1.079, allocations: 324.8 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/1.079, allocations: 26.84 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/1.079, allocations: 99.72 kB / 1.328 GB, free: 20.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/1.079, allocations: 146.3 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.079, allocations: 0.5 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002494/1.079, allocations: 154.2 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.079, allocations: 6.688 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.079, allocations: 2.5 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.079, allocations: 3.812 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/1.08, allocations: 30.02 kB / 1.328 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.08, allocations: 8.344 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/1.08, allocations: 12.3 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/1.08, allocations: 9.906 kB / 1.328 GB, free: 19.96 MB / 1.061 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.0001003/1.08, allocations: 151.3 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/1.08, allocations: 15.03 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/1.08, allocations: 117.4 kB / 1.328 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.08, allocations: 5.25 kB / 1.328 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.08, allocations: 5.031 kB / 1.328 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/1.08, allocations: 0 / 1.328 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/1.08, allocations: 232.2 kB / 1.328 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/1.08, allocations: 4.141 kB / 1.328 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/1.08, allocations: 11.12 kB / 1.328 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/1.08, allocations: 0.8438 kB / 1.328 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/1.08, allocations: 2 kB / 1.328 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.08, allocations: 7.875 kB / 1.328 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.08, allocations: 5.094 kB / 1.328 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/1.081, allocations: 190.7 kB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/1.081, allocations: 92.52 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/1.081, allocations: 0.9375 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/1.081, allocations: 22.5 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/1.081, allocations: 5.703 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/1.081, allocations: 13.86 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001421/1.081, allocations: 160.8 kB / 1.329 GB, free: 19.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.081, allocations: 0 / 1.329 GB, free: 19.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003108/1.081, allocations: 27.09 kB / 1.329 GB, free: 19.14 MB / 1.061 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.0005048/1.082, allocations: 0.7654 MB / 1.33 GB, free: 18.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001905/1.082, allocations: 69.83 kB / 1.33 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.082, allocations: 0.5312 kB / 1.33 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.579e-05/1.082, allocations: 22.7 kB / 1.33 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/1.082, allocations: 27.98 kB / 1.33 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/1.084, allocations: 1.931 MB / 1.332 GB, free: 16.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/1.084, allocations: 0.7317 MB / 1.332 GB, free: 16.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001335/1.085, allocations: 53.23 kB / 1.332 GB, free: 16.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/1.085, allocations: 44.69 kB / 1.332 GB, free: 16.09 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.085, allocations: 3.938 kB / 1.332 GB, free: 16.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/1.111, allocations: 4.31 MB / 1.337 GB, free: 15.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.026/10.14, allocations: 10.44 kB / 1.337 GB, free: 15.5 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/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: 17.085749774007127]