Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001172/0.001172, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001409/0.001409, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9278/0.9278, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.816/1.816, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: 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_12_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_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.882e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.0018/0.001819, allocations: 1.509 MB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003201, allocations: 1.212 MB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.003252, allocations: 3.938 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.003421, allocations: 15.81 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.003599, allocations: 47.77 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.00374, allocations: 59.84 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.003893, allocations: 147.5 kB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.00401, allocations: 29.3 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.004101, allocations: 111.7 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.944e-05/0.0042, allocations: 39.89 kB / 0.9852 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.004228, allocations: 12 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.004286, allocations: 35.86 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.004343, allocations: 43.89 kB / 0.9853 GB, free: 14.85 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.004389, allocations: 59.75 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.004603, allocations: 219.4 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004605, allocations: 0 / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.71e-07/0.004606, allocations: 0 / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.00461, allocations: 0 / 0.9856 GB, free: 14.57 MB / 0.948 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.0004955/0.005105, allocations: 417.3 kB / 0.986 GB, free: 14.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.005143, allocations: 12.03 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.005199, allocations: 20.8 kB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.005415, allocations: 213.1 kB / 0.9862 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.005526, allocations: 218.2 kB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.005538, allocations: 8.375 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.005785, allocations: 260.9 kB / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.005792, allocations: 192 / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.00581, allocations: 4.125 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.00583, allocations: 12 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.00589, allocations: 43.91 kB / 0.9868 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.006461, allocations: 376.2 kB / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.499e-05/0.006516, allocations: 42.48 kB / 0.9872 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.006545, allocations: 20.86 kB / 0.9872 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.006566, allocations: 3.984 kB / 0.9872 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.006587, allocations: 38.56 kB / 0.9872 GB, free: 12.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.006587, allocations: 0 / 0.9872 GB, free: 12.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0001997/0.006787, allocations: 101.6 kB / 0.9873 GB, free: 12.63 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.006813, allocations: 55.34 kB / 0.9874 GB, free: 12.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.006958, allocations: 219.8 kB / 0.9876 GB, free: 12.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.006977, allocations: 29.7 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.007033, allocations: 124.2 kB / 0.9877 GB, free: 12.18 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.007054, allocations: 27.89 kB / 0.9877 GB, free: 12.15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.007087, allocations: 29.72 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.007166, allocations: 330.8 kB / 0.9881 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.007203, allocations: 27.97 kB / 0.9881 GB, free: 11.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.007271, allocations: 106.2 kB / 0.9882 GB, free: 11.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.007379, allocations: 138.1 kB / 0.9884 GB, free: 11.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007381, allocations: 4 kB / 0.9884 GB, free: 11.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001482/0.007529, allocations: 153.3 kB / 0.9885 GB, free: 11.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.007541, allocations: 8 kB / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.007547, allocations: 4 kB / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.007558, allocations: 4 kB / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.007632, allocations: 20.36 kB / 0.9885 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.007637, allocations: 15.88 kB / 0.9886 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.00767, allocations: 4 kB / 0.9886 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.007679, allocations: 8 kB / 0.9886 GB, free: 11.22 MB / 0.948 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.435e-05/0.007764, allocations: 150.2 kB / 0.9887 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.007794, allocations: 19.86 kB / 0.9887 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.007937, allocations: 122.2 kB / 0.9888 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.00794, allocations: 4 kB / 0.9888 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.007944, allocations: 4 kB / 0.9888 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007947, allocations: 0 / 0.9888 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.008067, allocations: 161.2 kB / 0.989 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.008068, allocations: 0 / 0.989 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.008092, allocations: 12 kB / 0.989 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.008093, allocations: 0 / 0.989 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.0081, allocations: 4 kB / 0.989 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.0081, allocations: 0 / 0.989 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008101, allocations: 0 / 0.989 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.008224, allocations: 199.4 kB / 0.9892 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.00824, allocations: 23.83 kB / 0.9892 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.008251, allocations: 0 / 0.9892 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.008362, allocations: 19.98 kB / 0.9892 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.008377, allocations: 7.984 kB / 0.9893 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.008391, allocations: 11.98 kB / 0.9893 GB, free: 10.44 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.008479, allocations: 165.4 kB / 0.9894 GB, free: 10.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008479, allocations: 4 kB / 0.9894 GB, free: 10.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002028/0.008682, allocations: 23.95 kB / 0.9895 GB, free: 10.25 MB / 0.948 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.0001696/0.008852, allocations: 141.9 kB / 0.9896 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.008962, allocations: 63.84 kB / 0.9896 GB, free: 10.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008964, allocations: 4 kB / 0.9897 GB, free: 10.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.008991, allocations: 27.92 kB / 0.9897 GB, free: 10.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.009199, allocations: 20.67 kB / 0.9897 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.009569, allocations: 315.7 kB / 0.99 GB, free: 9.656 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.21e-05/0.009641, allocations: 122.2 kB / 0.9901 GB, free: 9.516 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.009673, allocations: 24.5 kB / 0.9901 GB, free: 9.492 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.009674, allocations: 0 / 0.9901 GB, free: 9.492 MB / 0.948 GB Notification: Performance of Templates: time 0.003087/0.01276, allocations: 2.697 MB / 0.9928 GB, free: 6.836 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,weeSchLin.y[1],weeSchLin.y[2],weeSchLin.y[3],weeSchLin.y[4] Variables in the result:time,weeSchLin.y[1],weeSchLin.y[2],weeSchLin.y[3],weeSchLin.y[4] [Calling sys.exit(0), Time elapsed: 7.1396811520680785]