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.001464/0.001464, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001604/0.001604, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.469/1.469, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.831/2.831, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 177] 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.094e-06/2.094e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.341e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.004767/0.0048, allocations: 1.496 MB / 0.8122 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003241/0.008041, allocations: 1.23 MB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.008123, allocations: 5.469 kB / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.008379, allocations: 19.8 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.008734, allocations: 51.7 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.009077, allocations: 61.58 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.009433, allocations: 143.5 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.009629, allocations: 34.62 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.009884, allocations: 107.8 kB / 0.8139 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.01014, allocations: 43.83 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.0102, allocations: 12 kB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.01033, allocations: 37.45 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.01046, allocations: 51.81 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.01058, allocations: 43.89 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.01112, allocations: 219.3 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01113, allocations: 0.7188 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.263e-06/0.01113, allocations: 0.5312 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.01114, allocations: 0 / 0.8142 GB, free: 14.6 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.001179/0.01231, allocations: 423 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.01237, allocations: 12.03 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.01251, allocations: 16.84 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.01307, allocations: 202 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004181/0.01349, allocations: 223.4 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.01354, allocations: 8.375 kB / 0.8151 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008222/0.01437, allocations: 263.2 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.01438, allocations: 192 / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.01443, allocations: 12.12 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.01449, allocations: 9.359 kB / 0.8154 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.01466, allocations: 39.97 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.01668, allocations: 373.9 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.01685, allocations: 44.27 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.01696, allocations: 24.84 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.01701, allocations: 4 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/0.01708, allocations: 34.56 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 3.958e-06/0.01709, allocations: 0.8125 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0005723/0.01766, allocations: 113.6 kB / 0.816 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/0.01775, allocations: 55.41 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.01821, allocations: 214.1 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.01826, allocations: 29.7 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.01842, allocations: 128.1 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.01848, allocations: 27.75 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.01857, allocations: 33.64 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002901/0.01886, allocations: 330.8 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.01896, allocations: 26.02 kB / 0.8168 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.01918, allocations: 98.28 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.01955, allocations: 141 kB / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.01956, allocations: 6.406 kB / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005264/0.02009, allocations: 154.5 kB / 0.8172 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.02011, allocations: 4 kB / 0.8172 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.02012, allocations: 4.562 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.02015, allocations: 4 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.02034, allocations: 28.7 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.02035, allocations: 4 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.02049, allocations: 16.72 kB / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.02052, allocations: 8 kB / 0.8172 GB, free: 11.25 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.0002414/0.02076, allocations: 153.2 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.02087, allocations: 19.91 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.02127, allocations: 108.2 kB / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.02128, allocations: 0 / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.02128, allocations: 0 / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.02129, allocations: 0 / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.02169, allocations: 177 kB / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02169, allocations: 0 / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.0218, allocations: 19.98 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.02181, allocations: 2.094 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.02182, allocations: 4 kB / 0.8177 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.02182, allocations: 0 / 0.8177 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.02183, allocations: 0 / 0.8177 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.02223, allocations: 191.3 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.02227, allocations: 11.91 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.02232, allocations: 4.969 kB / 0.8179 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.02277, allocations: 25.09 kB / 0.8179 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.0228, allocations: 3.984 kB / 0.8179 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.02285, allocations: 11.98 kB / 0.8179 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002959/0.02314, allocations: 162.5 kB / 0.8181 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02314, allocations: 0 / 0.8181 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005922/0.02373, allocations: 28 kB / 0.8181 GB, free: 10.3 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.0004436/0.02418, allocations: 137.3 kB / 0.8182 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.0245, allocations: 65.69 kB / 0.8183 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/0.02451, allocations: 4 kB / 0.8183 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.0246, allocations: 23.92 kB / 0.8183 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.02518, allocations: 36.62 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.02605, allocations: 286.5 kB / 0.8186 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.02627, allocations: 128.4 kB / 0.8188 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.0265, allocations: 50.69 kB / 0.8188 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.02658, allocations: 20.5 kB / 0.8188 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.02659, allocations: 1.938 kB / 0.8188 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of Templates: time 0.007338/0.03392, allocations: 2.478 MB / 0.8212 GB, free: 7.113 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=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: 7.68106682295911]