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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 75.48 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.829, allocations: 162.2 MB / 1.083 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.00309/0.8321, allocations: 1.483 MB / 1.084 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.8336, allocations: 1.098 MB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.8337, allocations: 5.031 kB / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.8339, allocations: 25.48 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.8341, allocations: 38.77 kB / 1.086 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.8343, allocations: 56.73 kB / 1.086 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.8346, allocations: 150.3 kB / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.8348, allocations: 56.81 kB / 1.086 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.8349, allocations: 78.03 kB / 1.086 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.8351, allocations: 61.34 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.8352, allocations: 11.56 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.8353, allocations: 24.33 kB / 1.086 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.8354, allocations: 54.25 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.8355, allocations: 75.95 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.8358, allocations: 195.3 kB / 1.086 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8359, allocations: 4 kB / 1.086 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8359, allocations: 0 / 1.086 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.8359, allocations: 0 / 1.086 GB, free: 15.73 MB / 0.8419 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.0008216/0.8367, allocations: 498.8 kB / 1.087 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.8368, allocations: 9.75 kB / 1.087 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.8368, allocations: 20.25 kB / 1.087 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.8373, allocations: 257.2 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.8375, allocations: 116.5 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.8375, allocations: 8.562 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.8379, allocations: 168.5 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.838, allocations: 1.312 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.838, allocations: 0 / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.838, allocations: 8.703 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.8382, allocations: 44.12 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.8395, allocations: 469.2 kB / 1.088 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.471e-05/0.8396, allocations: 40.47 kB / 1.088 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.8396, allocations: 21.48 kB / 1.088 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.8397, allocations: 4.125 kB / 1.088 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.8397, allocations: 33.39 kB / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.8397, allocations: 0 / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0003131/0.84, allocations: 106.9 kB / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.8401, allocations: 53.28 kB / 1.088 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.8404, allocations: 229.2 kB / 1.088 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.8404, allocations: 26.58 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.8405, allocations: 125.4 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.8405, allocations: 26.19 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.8406, allocations: 29.81 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.8408, allocations: 325 kB / 1.089 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.8409, allocations: 28.05 kB / 1.089 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.841, allocations: 98.17 kB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.8412, allocations: 145.2 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.8412, allocations: 1.25 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002615/0.8415, allocations: 149.7 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.8415, allocations: 7.25 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8415, allocations: 2.969 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.8415, allocations: 3.922 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.8417, allocations: 30.14 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8417, allocations: 8.641 kB / 1.089 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.8417, allocations: 12.09 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.8418, allocations: 6.906 kB / 1.089 GB, free: 13.3 MB / 0.8419 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.0001524/0.8419, allocations: 147.2 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.842, allocations: 19.14 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.8422, allocations: 112.5 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8423, allocations: 5.594 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8423, allocations: 3.938 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8423, allocations: 5.656 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.8426, allocations: 233.2 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8426, allocations: 0 / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.8426, allocations: 21.31 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.8427, allocations: 0.875 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.8427, allocations: 6.422 kB / 1.09 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8427, allocations: 0 / 1.09 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.8427, allocations: 5.281 kB / 1.09 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.8429, allocations: 184.7 kB / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.843, allocations: 90.12 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.843, allocations: 0 / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.8433, allocations: 23.19 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.8433, allocations: 8.641 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.8433, allocations: 10.83 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001829/0.8435, allocations: 167.3 kB / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8435, allocations: 0 / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003127/0.8439, allocations: 32.81 kB / 1.09 GB, free: 12.49 MB / 0.8419 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.0002794/0.8441, allocations: 126.3 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.8443, allocations: 85.81 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8444, allocations: 1.156 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/0.8444, allocations: 23.64 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.8447, allocations: 21.66 kB / 1.09 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.8453, allocations: 317.7 kB / 1.091 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.8458, allocations: 0.7325 MB / 1.092 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.8458, allocations: 22.42 kB / 1.092 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.8458, allocations: 1.125 kB / 1.092 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.00609/0.8519, allocations: 2.647 MB / 1.094 GB, free: 11.13 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches