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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001689/0.001689, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002025/0.002026, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 66.48 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3327, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002833/0.3355, allocations: 1.537 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3371, allocations: 1.093 MB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.3371, allocations: 0 / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.3373, allocations: 15.91 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.3374, allocations: 31.86 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.3376, allocations: 63.84 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.3378, allocations: 147.5 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3379, allocations: 57.09 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.338, allocations: 75.75 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3382, allocations: 58.7 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.3383, allocations: 8 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-05/0.3384, allocations: 27.98 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.3384, allocations: 43.83 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.3385, allocations: 71.56 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3387, allocations: 187.7 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3388, allocations: 0 / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.011e-06/0.3388, allocations: 0 / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3388, allocations: 4 kB / 1.055 GB, free: 5.41 MB / 0.8106 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.0006697/0.3395, allocations: 499.7 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3395, allocations: 8.031 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.3396, allocations: 16.75 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3399, allocations: 255.9 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.34, allocations: 115.4 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.34, allocations: 8.375 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.3404, allocations: 169.7 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3404, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.3404, allocations: 7.922 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.3405, allocations: 8 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.3406, allocations: 50.58 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.3416, allocations: 456.4 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.3417, allocations: 38.5 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.3418, allocations: 24.84 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3418, allocations: 7.938 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3418, allocations: 34.56 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3418, allocations: 0 / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002663/0.3421, allocations: 109.5 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3422, allocations: 55.41 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3424, allocations: 215.8 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3424, allocations: 37.7 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.3425, allocations: 123.9 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.3425, allocations: 23.66 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.3426, allocations: 29.7 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3427, allocations: 326.8 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.3427, allocations: 23.98 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3428, allocations: 98.28 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.343, allocations: 142.1 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.343, allocations: 4 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002493/0.3433, allocations: 153.2 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3433, allocations: 4 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3433, allocations: 4 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3433, allocations: 7.984 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3435, allocations: 24.31 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.3435, allocations: 15.92 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.3435, allocations: 11.84 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.3436, allocations: 11.98 kB / 1.058 GB, free: 2.039 MB / 0.8106 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.0001307/0.3437, allocations: 145.8 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.3438, allocations: 19.75 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.344, allocations: 109.4 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.344, allocations: 4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3441, allocations: 7.938 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3441, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3443, allocations: 229.5 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3443, allocations: 0 / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.3444, allocations: 19.98 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3444, allocations: 0 / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3444, allocations: 0 / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3444, allocations: 3.938 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3444, allocations: 7.938 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.3446, allocations: 183.3 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3447, allocations: 88.92 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3447, allocations: 8 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.3449, allocations: 19.97 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.345, allocations: 11.92 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.345, allocations: 7.984 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001434/0.3452, allocations: 165.5 kB / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3452, allocations: 0 / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003036/0.3455, allocations: 32 kB / 1.059 GB, free: 0.9023 MB / 0.8106 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.0002347/0.3457, allocations: 120.7 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.3459, allocations: 72.39 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3459, allocations: 0 / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.3459, allocations: 28.39 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3462, allocations: 20 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.3468, allocations: 341.1 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3471, allocations: 0.7278 MB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000119/0.3472, allocations: 61.72 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3472, allocations: 19.44 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3472, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.005308/0.3525, allocations: 2.322 MB / 1.063 GB, free: 13.19 MB / 0.8262 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=480 -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/jenkins/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