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.0006967/0.0006967, 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.001017/0.001017, 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.9115/0.9115, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.693/1.693, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.119e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002777/0.002798, allocations: 1.497 MB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.004372, allocations: 1.212 MB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.004435, allocations: 7.938 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.004637, allocations: 19.86 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.004869, allocations: 39.72 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.005053, allocations: 63.77 kB / 0.9533 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.00526, allocations: 147.5 kB / 0.9534 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.005398, allocations: 33.28 kB / 0.9534 GB, free: 468 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.00553, allocations: 103.8 kB / 0.9535 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.005664, allocations: 47.88 kB / 0.9536 GB, free: 316 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.005702, allocations: 12 kB / 0.9536 GB, free: 304 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.005777, allocations: 24 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.005861, allocations: 51.81 kB / 0.9537 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.005929, allocations: 55.81 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.006249, allocations: 219.3 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006252, allocations: 0 / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006253, allocations: 0 / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.006257, allocations: 4 kB / 0.9539 GB, free: 15.95 MB / 0.9167 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.0006812/0.006939, allocations: 421.3 kB / 0.9543 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.00698, allocations: 15.97 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.007033, allocations: 38.75 kB / 0.9544 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.007101, allocations: 20.8 kB / 0.9544 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.007408, allocations: 207.2 kB / 0.9546 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.007578, allocations: 222.2 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.007591, allocations: 4.375 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.007962, allocations: 264.9 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.007977, allocations: 192 / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.008001, allocations: 7.938 kB / 0.9551 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.008026, allocations: 8 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.008118, allocations: 43.97 kB / 0.9551 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.00901, allocations: 407.5 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.572e-05/0.009086, allocations: 30.58 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.00913, allocations: 24.84 kB / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.00916, allocations: 11.98 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.009184, allocations: 30.56 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.009185, allocations: 0 / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0004192/0.009605, allocations: 109.5 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.009636, allocations: 55.41 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.009846, allocations: 215.8 kB / 0.956 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.009872, allocations: 25.7 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.009957, allocations: 128.1 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.009988, allocations: 27.95 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.01004, allocations: 33.7 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.01014, allocations: 326.8 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.0102, allocations: 35.97 kB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.583e-05/0.01029, allocations: 98.17 kB / 0.9566 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01045, allocations: 142.2 kB / 0.9567 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01046, allocations: 0 / 0.9567 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002368/0.01069, allocations: 149.3 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01071, allocations: 12.36 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01072, allocations: 4.312 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01073, allocations: 4 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01084, allocations: 23.94 kB / 0.9569 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.01085, allocations: 7.984 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.01092, allocations: 15.89 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01094, allocations: 15.92 kB / 0.957 GB, free: 12.49 MB / 0.9167 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.0001157/0.01105, allocations: 145.7 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.01111, allocations: 15.91 kB / 0.9571 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.01131, allocations: 108.1 kB / 0.9572 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01131, allocations: 3.938 kB / 0.9572 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01131, allocations: 4 kB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01132, allocations: 3.984 kB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.01154, allocations: 188.6 kB / 0.9574 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01154, allocations: 0 / 0.9574 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.01159, allocations: 15.94 kB / 0.9574 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01159, allocations: 0 / 0.9574 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.0116, allocations: 0 / 0.9574 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.0116, allocations: 3.984 kB / 0.9574 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0116, allocations: 0 / 0.9574 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.01179, allocations: 195.4 kB / 0.9576 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.01181, allocations: 11.91 kB / 0.9576 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.01183, allocations: 8 kB / 0.9576 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.01203, allocations: 15.98 kB / 0.9577 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.01205, allocations: 11.98 kB / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.01207, allocations: 7.984 kB / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001387/0.01221, allocations: 165.5 kB / 0.9578 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01221, allocations: 0 / 0.9578 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003562/0.01257, allocations: 39.81 kB / 0.9579 GB, free: 11.49 MB / 0.9167 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.0005363/0.0131, allocations: 0.7498 MB / 0.9586 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.01326, allocations: 71.83 kB / 0.9587 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01326, allocations: 0 / 0.9587 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.0133, allocations: 28.67 kB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.01364, allocations: 20 kB / 0.9587 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.01534, allocations: 1.918 MB / 0.9606 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.932e-05/0.01543, allocations: 122.2 kB / 0.9607 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.262e-05/0.01551, allocations: 59.92 kB / 0.9608 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.01557, allocations: 48.48 kB / 0.9608 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.01557, allocations: 0 / 0.9608 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.03418, allocations: 5.045 MB / 0.9657 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.207, allocations: 10.42 kB / 0.9657 GB, free: 3.445 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.328097996301949]