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.001355/0.001355, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001491/0.001491, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.773 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.757/2.757, allocations: 476 MB / 0.7699 GB, free: 4.906 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.002114/0.002114, allocations: 65.22 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 170 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002976/0.3321, allocations: 1.499 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3339, allocations: 1.201 MB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.334, allocations: 3.938 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.3341, allocations: 19.86 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.3343, allocations: 43.78 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.3345, allocations: 53.92 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.3347, allocations: 147.6 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3349, allocations: 33.28 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.335, allocations: 87.69 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3352, allocations: 51.72 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.3352, allocations: 8 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.3353, allocations: 31.98 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.3354, allocations: 51.83 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.3355, allocations: 63.7 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.3358, allocations: 200.9 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3358, allocations: 4 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3358, allocations: 0 / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3358, allocations: 0 / 1.286 GB, free: 8.996 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.0007349/0.3365, allocations: 435.2 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3365, allocations: 8.031 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.3366, allocations: 46.73 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.3367, allocations: 16.84 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.337, allocations: 202.1 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.3372, allocations: 226.2 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3373, allocations: 4.375 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.3377, allocations: 264.3 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3377, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3377, allocations: 3.984 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.3377, allocations: 8 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.3378, allocations: 47.91 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3388, allocations: 407.6 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.694e-05/0.3389, allocations: 34.5 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.339, allocations: 28.84 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.339, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.339, allocations: 34.56 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.339, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002695/0.3393, allocations: 109.6 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3394, allocations: 55.34 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.3396, allocations: 211.8 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.3396, allocations: 33.64 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.3397, allocations: 128.1 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3398, allocations: 31.69 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.3398, allocations: 29.7 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.34, allocations: 322.8 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.34, allocations: 31.97 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3401, allocations: 94.3 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3403, allocations: 146.1 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3403, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002437/0.3406, allocations: 157.3 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3406, allocations: 7.984 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3406, allocations: 4 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3406, allocations: 4 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.3407, allocations: 20.38 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.3407, allocations: 19.86 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.3408, allocations: 15.89 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.3408, allocations: 4 kB / 1.289 GB, free: 5.527 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.000131/0.3409, allocations: 138.9 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.341, allocations: 15.91 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.3412, allocations: 124.3 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3412, allocations: 0 / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3412, allocations: 3.938 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3412, allocations: 3.984 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3414, allocations: 184.7 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3414, allocations: 4 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.3415, allocations: 12 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3415, allocations: 0 / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3415, allocations: 7.938 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3415, allocations: 4 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3415, allocations: 7.922 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3417, allocations: 195.4 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.3417, allocations: 11.91 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3418, allocations: 0 / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.342, allocations: 23.98 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.342, allocations: 7.922 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.342, allocations: 11.98 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001499/0.3422, allocations: 161.5 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 0 / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002907/0.3425, allocations: 35.92 kB / 1.29 GB, free: 4.52 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.0006499/0.3431, allocations: 0.7597 MB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.3433, allocations: 71.83 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3433, allocations: 0 / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.3433, allocations: 23.98 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3436, allocations: 15.94 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.3457, allocations: 1.925 MB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3458, allocations: 118.1 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.346, allocations: 57.81 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.346, allocations: 43.42 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.346, allocations: 4 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04205/0.3881, allocations: 4.922 MB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.24, allocations: 5 kB / 1.298 GB, free: 12.59 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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.98159681400284]