Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007894/0.0007894, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000912/0.000912, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8941/0.8941, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.786/1.786, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.36e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002529/0.002552, allocations: 1.482 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003623, allocations: 1.22 MB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.00368, allocations: 7.938 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.003848, allocations: 19.8 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.004028, allocations: 39.72 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.004169, allocations: 66.27 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.004321, allocations: 147.5 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004437, allocations: 41.22 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.00453, allocations: 103.7 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.004626, allocations: 47.81 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.00465, allocations: 12 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.004706, allocations: 24 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.004769, allocations: 47.83 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.004816, allocations: 43.89 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.005027, allocations: 227.3 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005029, allocations: 0 / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00503, allocations: 0 / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.005034, allocations: 0 / 1.003 GB, free: 9.977 MB / 0.9636 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.0004928/0.005527, allocations: 431.5 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.005562, allocations: 8.75 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.005598, allocations: 38.75 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.005645, allocations: 16.84 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.005902, allocations: 201.4 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.006024, allocations: 226.2 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.006034, allocations: 4.375 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.006289, allocations: 253 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.006296, allocations: 192 / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.006315, allocations: 11.92 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.006335, allocations: 8 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.178e-05/0.006397, allocations: 47.91 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.006993, allocations: 411.6 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.007051, allocations: 38.5 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.00708, allocations: 24.78 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.007102, allocations: 4 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.007122, allocations: 34.56 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.007123, allocations: 0 / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002109/0.007334, allocations: 97.58 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.007361, allocations: 59.41 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.007509, allocations: 219.9 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.007527, allocations: 25.7 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.149e-05/0.007589, allocations: 120.2 kB / 1.005 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.007608, allocations: 35.72 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.007648, allocations: 33.66 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.00773, allocations: 330.8 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.007768, allocations: 27.98 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.007834, allocations: 98.28 kB / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.007947, allocations: 142.1 kB / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007949, allocations: 0 / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001564/0.008106, allocations: 153.3 kB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.008119, allocations: 8 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.008124, allocations: 4 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.008137, allocations: 4 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.008206, allocations: 19.98 kB / 1.006 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.008213, allocations: 8.312 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.008255, allocations: 19.89 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.008265, allocations: 11.94 kB / 1.006 GB, free: 6.527 MB / 0.9636 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 8.34e-05/0.008348, allocations: 137.8 kB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.008379, allocations: 15.91 kB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.008524, allocations: 121.2 kB / 1.006 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008527, allocations: 4 kB / 1.006 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.00853, allocations: 0 / 1.006 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.008533, allocations: 0 / 1.006 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.008686, allocations: 196.5 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008687, allocations: 0 / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.008715, allocations: 19.98 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.008717, allocations: 0 / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.008724, allocations: 4 kB / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.008724, allocations: 4 kB / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008725, allocations: 0 / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.008848, allocations: 187.3 kB / 1.007 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.008863, allocations: 15.89 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.008876, allocations: 4 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.00899, allocations: 15.97 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.009004, allocations: 15.98 kB / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.009021, allocations: 15.98 kB / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.632e-05/0.009107, allocations: 153.5 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009107, allocations: 0 / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002136/0.009321, allocations: 35.88 kB / 1.007 GB, free: 5.531 MB / 0.9636 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.0004062/0.009727, allocations: 0.7518 MB / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.009844, allocations: 68.39 kB / 1.008 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009846, allocations: 0 / 1.008 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.009871, allocations: 23.98 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.01009, allocations: 18.39 kB / 1.008 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.0114, allocations: 1.933 MB / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.188e-05/0.01149, allocations: 118.7 kB / 1.01 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.604e-05/0.01157, allocations: 55.66 kB / 1.01 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.01163, allocations: 48.47 kB / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.01163, allocations: 0 / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.03235, allocations: 5.02 MB / 1.015 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.325, allocations: 13.52 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.37512590084225]