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.001815/0.001815, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002261/0.002261, allocations: 214.7 kB / 22.25 MB, free: 4.855 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.809 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 2.706/2.706, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] 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.002017/0.002017, allocations: 75.86 kB / 1.117 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 169.9 MB / 1.283 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003198/0.3377, allocations: 1.501 MB / 1.284 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3397, allocations: 1.19 MB / 1.285 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.3397, allocations: 0 / 1.285 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.3399, allocations: 19.86 kB / 1.285 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.3402, allocations: 43.77 kB / 1.285 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3404, allocations: 67.91 kB / 1.285 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.3406, allocations: 147.5 kB / 1.285 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3407, allocations: 41.5 kB / 1.285 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3409, allocations: 79.75 kB / 1.286 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.341, allocations: 55.7 kB / 1.286 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.3411, allocations: 15.94 kB / 1.286 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.3412, allocations: 24 kB / 1.286 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.3412, allocations: 55.81 kB / 1.286 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.3413, allocations: 59.7 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.3416, allocations: 199.2 kB / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3416, allocations: 0 / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3416, allocations: 0 / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3416, allocations: 4 kB / 1.286 GB, free: 0.7617 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.0007103/0.3423, allocations: 421.3 kB / 1.286 GB, free: 328 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3424, allocations: 12.03 kB / 1.286 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.3424, allocations: 38.75 kB / 1.286 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.3425, allocations: 24.83 kB / 1.286 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.3429, allocations: 202.1 kB / 1.287 GB, free: 16 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.3431, allocations: 222.2 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3431, allocations: 12.36 kB / 1.287 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.3435, allocations: 260.3 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3435, allocations: 0 / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.3435, allocations: 0 / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.3436, allocations: 19.92 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.3437, allocations: 39.97 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.3448, allocations: 415.5 kB / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.214e-05/0.3449, allocations: 34.56 kB / 1.288 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.3449, allocations: 28.78 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.345, allocations: 0 / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.345, allocations: 38.56 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.345, allocations: 4 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0002821/0.3453, allocations: 101.5 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.3453, allocations: 55.34 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.3456, allocations: 215.8 kB / 1.288 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3457, allocations: 29.7 kB / 1.288 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.3458, allocations: 128.3 kB / 1.288 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.3458, allocations: 23.8 kB / 1.288 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.3458, allocations: 33.72 kB / 1.288 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.346, allocations: 330.8 kB / 1.289 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.3461, allocations: 23.98 kB / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3462, allocations: 102.3 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3464, allocations: 138.1 kB / 1.289 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3464, allocations: 7.938 kB / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002682/0.3467, allocations: 153.3 kB / 1.289 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3467, allocations: 8 kB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3467, allocations: 4 kB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3467, allocations: 4.375 kB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3468, allocations: 27.92 kB / 1.289 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3468, allocations: 7.938 kB / 1.289 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.3469, allocations: 11.89 kB / 1.289 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3469, allocations: 8 kB / 1.289 GB, free: 13.3 MB / 0.9981 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.0001478/0.347, allocations: 145.8 kB / 1.289 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.3471, allocations: 15.91 kB / 1.289 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.3473, allocations: 117.3 kB / 1.289 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3474, allocations: 4 kB / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3474, allocations: 3.938 kB / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3474, allocations: 0 / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.3476, allocations: 192.6 kB / 1.289 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3476, allocations: 0 / 1.289 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.3477, allocations: 15.98 kB / 1.289 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3477, allocations: 0 / 1.289 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.3477, allocations: 4 kB / 1.289 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3477, allocations: 3.938 kB / 1.289 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3477, allocations: 3.938 kB / 1.289 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.3479, allocations: 179.8 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.3479, allocations: 15.91 kB / 1.29 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.348, allocations: 8 kB / 1.29 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3482, allocations: 23.97 kB / 1.29 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3482, allocations: 7.922 kB / 1.29 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.3483, allocations: 15.98 kB / 1.29 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000163/0.3484, allocations: 153.5 kB / 1.29 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 0 / 1.29 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003006/0.3487, allocations: 31.94 kB / 1.29 GB, free: 12.3 MB / 0.9981 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.0007496/0.3495, allocations: 0.7646 MB / 1.291 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.3497, allocations: 67.84 kB / 1.291 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3497, allocations: 0 / 1.291 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.3497, allocations: 23.98 kB / 1.291 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.35, allocations: 28.61 kB / 1.291 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.3524, allocations: 1.916 MB / 1.293 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3525, allocations: 122.1 kB / 1.293 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.3527, allocations: 52.58 kB / 1.293 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.3527, allocations: 55.41 kB / 1.293 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.3527, allocations: 0 / 1.293 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.3896, allocations: 4.906 MB / 1.298 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 6.562 kB / 1.298 GB, free: 4.379 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.380055353976786]