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.002292/0.002292, allocations: 83.69 kB / 20.23 MB, free: 4.18 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.002316/0.002316, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.541/1.541, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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 3.052/3.052, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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 1.312e-06/1.312e-06, allocations: 0 / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.651e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002892/0.002919, allocations: 1.519 MB / 0.8123 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.004739, allocations: 1.23 MB / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.004793, allocations: 4 kB / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.004983, allocations: 19.8 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.005181, allocations: 47.7 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.005355, allocations: 61.52 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.005574, allocations: 147.5 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.005712, allocations: 38.95 kB / 0.8138 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.005877, allocations: 103.8 kB / 0.8139 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.006047, allocations: 43.89 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.006098, allocations: 12 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.00618, allocations: 29.41 kB / 0.814 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.006275, allocations: 51.88 kB / 0.814 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.006363, allocations: 51.83 kB / 0.8141 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.006705, allocations: 207.3 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006708, allocations: 1.375 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.01e-07/0.006709, allocations: 0 / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.006714, allocations: 0 / 0.8143 GB, free: 14.62 MB / 0.7761 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.0007992/0.007513, allocations: 0.5206 MB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.007548, allocations: 8.031 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.007637, allocations: 28.77 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.008001, allocations: 197.8 kB / 0.815 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.008215, allocations: 215.3 kB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.008248, allocations: 12.36 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.008635, allocations: 233 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.008645, allocations: 5.031 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.00867, allocations: 4.125 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.008697, allocations: 9.031 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.008784, allocations: 31.97 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/0.009771, allocations: 433.8 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.009855, allocations: 35.05 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.009903, allocations: 23.67 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.00993, allocations: 4.531 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.009971, allocations: 38.11 kB / 0.816 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.009972, allocations: 0 / 0.816 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002763/0.01025, allocations: 90.2 kB / 0.8161 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.01029, allocations: 57 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.01061, allocations: 290.7 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.01064, allocations: 29.7 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.01079, allocations: 178.9 kB / 0.8166 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.01083, allocations: 31.75 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.01089, allocations: 39.98 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005107/0.0114, allocations: 0.5085 MB / 0.8172 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.01146, allocations: 19.98 kB / 0.8172 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.01163, allocations: 132.8 kB / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01185, allocations: 164.3 kB / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01185, allocations: 0 / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002576/0.01211, allocations: 140.4 kB / 0.8176 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01213, allocations: 8 kB / 0.8176 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01213, allocations: 0 / 0.8176 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.01215, allocations: 7.188 kB / 0.8176 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01226, allocations: 31.92 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.01227, allocations: 4 kB / 0.8177 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.01233, allocations: 11.89 kB / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.01235, allocations: 11.98 kB / 0.8177 GB, free: 10.76 MB / 0.7761 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.0001556/0.01251, allocations: 180.4 kB / 0.8178 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.01258, allocations: 23.91 kB / 0.8179 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.0128, allocations: 97.06 kB / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.0128, allocations: 0 / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.0128, allocations: 4 kB / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.0128, allocations: 0 / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.01307, allocations: 197 kB / 0.8182 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01307, allocations: 4.5 kB / 0.8182 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.01312, allocations: 12 kB / 0.8182 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.01312, allocations: 1.656 kB / 0.8182 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.01313, allocations: 0 / 0.8182 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.01313, allocations: 4 kB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01313, allocations: 3.984 kB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.01338, allocations: 229 kB / 0.8184 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.01341, allocations: 11.91 kB / 0.8184 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.01343, allocations: 4 kB / 0.8184 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.01364, allocations: 17.08 kB / 0.8184 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.01367, allocations: 7.969 kB / 0.8184 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.01369, allocations: 15.92 kB / 0.8185 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001912/0.01389, allocations: 206 kB / 0.8186 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01389, allocations: 0.8438 kB / 0.8186 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002866/0.01417, allocations: 24 kB / 0.8187 GB, free: 9.68 MB / 0.7761 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.0003115/0.01448, allocations: 131.9 kB / 0.8188 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.01466, allocations: 68.66 kB / 0.8189 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01467, allocations: 1 kB / 0.8189 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.01472, allocations: 31.67 kB / 0.8189 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.01503, allocations: 39.22 kB / 0.8189 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.0156, allocations: 282 kB / 0.8192 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.01574, allocations: 114.1 kB / 0.8193 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.01586, allocations: 50.31 kB / 0.8194 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.0159, allocations: 16.5 kB / 0.8194 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.0159, allocations: 0 / 0.8194 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of Templates: time 0.006426/0.02233, allocations: 2.475 MB / 0.8218 GB, free: 6.496 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] 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.10510732489638]