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.002078/0.002078, allocations: 79.75 kB / 19.18 MB, free: 2.512 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.002687/0.002687, allocations: 165.7 kB / 22.46 MB, free: 5.379 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.547/1.547, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.899/2.899, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.722e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002919/0.002947, allocations: 1.515 MB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.004721, allocations: 1.204 MB / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.004798, allocations: 0 / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.005007, allocations: 19.8 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.005256, allocations: 47.72 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.005466, allocations: 65.91 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.005705, allocations: 147.5 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.005851, allocations: 29.3 kB / 1.003 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.006033, allocations: 107.8 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.006216, allocations: 39.89 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.00627, allocations: 12 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9e-05/0.00636, allocations: 31.92 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.006452, allocations: 51.81 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.00654, allocations: 51.83 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.006894, allocations: 215.3 kB / 1.004 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006896, allocations: 0 / 1.004 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006897, allocations: 0 / 1.004 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.006904, allocations: 0 / 1.004 GB, free: 3.777 MB / 0.9512 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.0007722/0.007676, allocations: 417.3 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.007714, allocations: 16.02 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.007796, allocations: 16.84 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.008181, allocations: 205.4 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.008399, allocations: 226.1 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.008424, allocations: 8.375 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.008935, allocations: 260.9 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.008945, allocations: 192 / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.008975, allocations: 8.125 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.009002, allocations: 8 kB / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.009093, allocations: 39.97 kB / 1.005 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01015, allocations: 388.1 kB / 1.005 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.01024, allocations: 30.56 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.01028, allocations: 24.84 kB / 1.005 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.01031, allocations: 4 kB / 1.005 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.01035, allocations: 38.55 kB / 1.005 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.01035, allocations: 4 kB / 1.005 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0003058/0.01066, allocations: 105.5 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.0107, allocations: 51.41 kB / 1.005 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.01093, allocations: 207.9 kB / 1.006 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.01097, allocations: 29.69 kB / 1.006 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.01107, allocations: 128.3 kB / 1.006 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.01109, allocations: 27.75 kB / 1.006 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.01115, allocations: 33.7 kB / 1.006 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.01131, allocations: 326.8 kB / 1.006 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.01137, allocations: 31.97 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.01149, allocations: 98.23 kB / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.01168, allocations: 142.2 kB / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01168, allocations: 0 / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002714/0.01195, allocations: 157.3 kB / 1.006 GB, free: 500 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01197, allocations: 11.94 kB / 1.006 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01198, allocations: 0 / 1.006 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.012, allocations: 4.375 kB / 1.006 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01212, allocations: 31.92 kB / 1.006 GB, free: 452 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.01213, allocations: 4 kB / 1.006 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.0122, allocations: 11.95 kB / 1.006 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01221, allocations: 8 kB / 1.007 GB, free: 428 kB / 0.9512 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.0001633/0.01238, allocations: 157.6 kB / 1.007 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.01244, allocations: 15.91 kB / 1.007 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.01268, allocations: 105 kB / 1.007 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01268, allocations: 0 / 1.007 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.01268, allocations: 3.984 kB / 1.007 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01269, allocations: 8 kB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.01292, allocations: 169.1 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01292, allocations: 0 / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.01298, allocations: 19.92 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01298, allocations: 0 / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.01299, allocations: 0 / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01299, allocations: 0 / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.01299, allocations: 4 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.01322, allocations: 183.4 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.01324, allocations: 19.84 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.01327, allocations: 4 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.01352, allocations: 23.97 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.01355, allocations: 7.984 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.01358, allocations: 11.98 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001742/0.01376, allocations: 157.5 kB / 1.007 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01376, allocations: 0 / 1.007 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003159/0.01407, allocations: 24 kB / 1.007 GB, free: 15.47 MB / 0.9669 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.0002966/0.01437, allocations: 140.8 kB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.01455, allocations: 63.84 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.01455, allocations: 4 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.0146, allocations: 23.92 kB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.01492, allocations: 28.62 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.0155, allocations: 298 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.01563, allocations: 114.2 kB / 1.008 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.01576, allocations: 59.05 kB / 1.008 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.0158, allocations: 16.5 kB / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/0.0158, allocations: 0 / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of Templates: time 0.006004/0.02181, allocations: 2.424 MB / 1.01 GB, free: 12.31 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 800] 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: 8.139891881495714]