Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00186/0.00186, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00231/0.00231, allocations: 214.7 kB / 22.25 MB, free: 5.129 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.068/3.068, allocations: 476.7 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",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.002257/0.002257, allocations: 66.67 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3375, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003753/0.3413, allocations: 1.525 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.3435, allocations: 1.24 MB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.3436, allocations: 4 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3438, allocations: 11.86 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.3441, allocations: 43.78 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3443, allocations: 54.3 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.3446, allocations: 147.5 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.3448, allocations: 44.8 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3449, allocations: 83.75 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.3452, allocations: 55.7 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.3452, allocations: 12 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3453, allocations: 31.98 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.926e-05/0.3454, allocations: 47.83 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3455, allocations: 71.58 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.3459, allocations: 207.2 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3459, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3459, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3459, allocations: 4 kB / 1.287 GB, free: 8.148 MB / 0.9825 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.0008576/0.3468, allocations: 425.3 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3468, allocations: 8.031 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.825e-05/0.3469, allocations: 38.75 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.347, allocations: 16.84 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.3474, allocations: 202.1 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.3476, allocations: 226.1 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3476, allocations: 12.38 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.348, allocations: 157.5 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.348, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.348, allocations: 3.938 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.3481, allocations: 12 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.3481, allocations: 39.97 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.3494, allocations: 443.4 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.3495, allocations: 30.56 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.3495, allocations: 20.86 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.3495, allocations: 7.984 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3496, allocations: 38.56 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 3.607e-06/0.3496, allocations: 3.984 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.00033/0.3499, allocations: 105.5 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.3499, allocations: 55.34 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.3502, allocations: 215.8 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.3503, allocations: 29.64 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.3504, allocations: 128.3 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.3504, allocations: 31.73 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.3504, allocations: 29.72 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3506, allocations: 330.8 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.3507, allocations: 23.98 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3508, allocations: 98.28 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.351, allocations: 150.1 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.351, allocations: 0 / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002937/0.3513, allocations: 153.3 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3513, allocations: 8 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3513, allocations: 0 / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3513, allocations: 4 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3515, allocations: 27.92 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3515, allocations: 7.938 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.3515, allocations: 7.953 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3516, allocations: 12.34 kB / 1.29 GB, free: 4.789 MB / 0.9825 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.0001642/0.3517, allocations: 150.2 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.3518, allocations: 15.91 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.352, allocations: 117.1 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3521, allocations: 0 / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3521, allocations: 3.938 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3521, allocations: 0 / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.3523, allocations: 208.6 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3523, allocations: 3.938 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.3524, allocations: 12 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3524, allocations: 7.938 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.3524, allocations: 0 / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3524, allocations: 8 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3524, allocations: 7.922 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.3527, allocations: 187.4 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.3527, allocations: 15.84 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3527, allocations: 0 / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.353, allocations: 19.98 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.353, allocations: 15.92 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.353, allocations: 7.984 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001758/0.3532, allocations: 161.5 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3532, allocations: 0 / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003323/0.3535, allocations: 27.98 kB / 1.291 GB, free: 3.766 MB / 0.9825 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.0007447/0.3543, allocations: 0.7475 MB / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3545, allocations: 68.33 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3545, allocations: 8.25 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.3545, allocations: 23.97 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3549, allocations: 26.22 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.3574, allocations: 1.927 MB / 1.293 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.3578, allocations: 0.7314 MB / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.3579, allocations: 57.06 kB / 1.294 GB, free: 0 / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.358, allocations: 47.48 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of SimCode: time 1.412e-06/0.358, allocations: 0 / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04122/0.3993, allocations: 4.392 MB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.46, allocations: 6.234 kB / 1.299 GB, free: 11.73 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.61386038712226]