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.00139/0.00139, allocations: 80.61 kB / 19.18 MB, free: 2.52 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.001461/0.001461, allocations: 164.2 kB / 22.46 MB, free: 5.375 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.46/1.46, 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 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 2.876/2.876, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.134e-06/2.134e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.235e-05/4.448e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002971/0.003016, allocations: 1.505 MB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.004823, allocations: 1.204 MB / 0.984 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.004879, allocations: 0 / 0.984 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.005073, allocations: 23.73 kB / 0.9841 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.005295, allocations: 43.66 kB / 0.9841 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.005496, allocations: 70.83 kB / 0.9842 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.005711, allocations: 147.5 kB / 0.9843 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.005842, allocations: 33.28 kB / 0.9844 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.006007, allocations: 107.8 kB / 0.9845 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.006157, allocations: 43.89 kB / 0.9845 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.006202, allocations: 8 kB / 0.9845 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.006285, allocations: 31.92 kB / 0.9845 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.006378, allocations: 55.81 kB / 0.9846 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.006471, allocations: 51.83 kB / 0.9846 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.006798, allocations: 215.3 kB / 0.9848 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.006804, allocations: 4 kB / 0.9848 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/0.006805, allocations: 0 / 0.9848 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.00681, allocations: 0 / 0.9848 GB, free: 8.438 MB / 0.9356 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.0007572/0.007567, allocations: 417.3 kB / 0.9852 GB, free: 8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.007603, allocations: 8.031 kB / 0.9853 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.007693, allocations: 28.8 kB / 0.9853 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.008021, allocations: 206.9 kB / 0.9855 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.008237, allocations: 222.1 kB / 0.9857 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.008254, allocations: 8.375 kB / 0.9857 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.008687, allocations: 256.9 kB / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.008696, allocations: 192 / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.008723, allocations: 8.125 kB / 0.9859 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.008751, allocations: 11.98 kB / 0.986 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.013e-05/0.008841, allocations: 39.97 kB / 0.986 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.009952, allocations: 380.1 kB / 0.9864 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.01003, allocations: 34.56 kB / 0.9864 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.01008, allocations: 20.84 kB / 0.9864 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.01011, allocations: 4 kB / 0.9864 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.01014, allocations: 42.5 kB / 0.9865 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.01014, allocations: 0 / 0.9865 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003006/0.01044, allocations: 109.6 kB / 0.9866 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.01049, allocations: 51.41 kB / 0.9866 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.01074, allocations: 211.8 kB / 0.9868 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.01077, allocations: 29.7 kB / 0.9868 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01087, allocations: 128.1 kB / 0.987 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.01091, allocations: 27.89 kB / 0.987 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.01097, allocations: 33.7 kB / 0.987 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.01113, allocations: 330.8 kB / 0.9873 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.01119, allocations: 23.98 kB / 0.9874 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01131, allocations: 106.2 kB / 0.9875 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.0115, allocations: 142.2 kB / 0.9876 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01151, allocations: 0 / 0.9876 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002631/0.01177, allocations: 157.2 kB / 0.9877 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.01179, allocations: 8 kB / 0.9878 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01179, allocations: 0 / 0.9878 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.01181, allocations: 4 kB / 0.9878 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01192, allocations: 28.3 kB / 0.9878 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01192, allocations: 8 kB / 0.9878 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.01199, allocations: 11.89 kB / 0.9878 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.01201, allocations: 11.98 kB / 0.9878 GB, free: 5.074 MB / 0.9356 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.0001356/0.01214, allocations: 146.2 kB / 0.988 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.01221, allocations: 19.89 kB / 0.988 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.01244, allocations: 107 kB / 0.9881 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01244, allocations: 0 / 0.9881 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.01245, allocations: 7.938 kB / 0.9881 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01245, allocations: 0 / 0.9881 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.01267, allocations: 161.1 kB / 0.9882 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01267, allocations: 7.984 kB / 0.9882 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.01272, allocations: 15.98 kB / 0.9883 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01273, allocations: 0 / 0.9883 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01274, allocations: 4 kB / 0.9883 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.01274, allocations: 4 kB / 0.9883 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.01274, allocations: 4 kB / 0.9883 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.01297, allocations: 187.8 kB / 0.9885 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.01299, allocations: 11.91 kB / 0.9885 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.01301, allocations: 4 kB / 0.9885 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.01329, allocations: 23.97 kB / 0.9885 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.01331, allocations: 11.92 kB / 0.9885 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.01334, allocations: 11.98 kB / 0.9885 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001716/0.01351, allocations: 161.5 kB / 0.9887 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01351, allocations: 0 / 0.9887 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003236/0.01383, allocations: 27.95 kB / 0.9887 GB, free: 4.121 MB / 0.9356 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.0002883/0.01412, allocations: 130.3 kB / 0.9888 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.01431, allocations: 71.83 kB / 0.9889 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01431, allocations: 3.938 kB / 0.9889 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.01435, allocations: 23.98 kB / 0.9889 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.01469, allocations: 26.06 kB / 0.9889 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.01523, allocations: 294.7 kB / 0.9892 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.01534, allocations: 122.2 kB / 0.9893 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.01546, allocations: 58.06 kB / 0.9894 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.0155, allocations: 16.5 kB / 0.9894 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01551, allocations: 0 / 0.9894 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of Templates: time 0.006348/0.02185, allocations: 2.447 MB / 0.9918 GB, free: 0.9375 MB / 0.9356 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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.060625147074461]