Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001537/0.001537, allocations: 108.6 kB / 15.99 MB, free: 5.91 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.001556/0.001556, allocations: 193.7 kB / 16.91 MB, free: 5.754 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 13.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.684/2.684, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 75.62 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003015/0.3535, allocations: 1.536 MB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.3551, allocations: 1.089 MB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.3552, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.3554, allocations: 11.92 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.3556, allocations: 39.84 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.3558, allocations: 55.73 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.3561, allocations: 151.6 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3563, allocations: 61.02 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3564, allocations: 79.77 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.3566, allocations: 67.69 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.3567, allocations: 8 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.3567, allocations: 28 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.3568, allocations: 47.88 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.357, allocations: 79.52 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3572, allocations: 144 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3572, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3572, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3572, allocations: 0 / 1.067 GB, free: 11.65 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.0008112/0.358, allocations: 490.7 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3581, allocations: 12.03 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.3582, allocations: 16.75 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.3586, allocations: 259.9 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.3587, allocations: 115.4 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3588, allocations: 12.31 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.3591, allocations: 167.5 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3592, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.3592, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.3592, allocations: 12 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.3593, allocations: 47.84 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3604, allocations: 456.5 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.954e-05/0.3605, allocations: 38.5 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.3606, allocations: 20.86 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.3606, allocations: 7.922 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3606, allocations: 42.56 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3606, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0002738/0.3609, allocations: 105.6 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.361, allocations: 59.34 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.3612, allocations: 223.7 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3613, allocations: 29.7 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.3614, allocations: 120 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.3614, allocations: 23.64 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.3615, allocations: 33.72 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3616, allocations: 330.8 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.3617, allocations: 23.98 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3618, allocations: 102.3 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.362, allocations: 134.1 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.362, allocations: 4 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002536/0.3623, allocations: 157.2 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3623, allocations: 8 kB / 1.07 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3623, allocations: 3.938 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3623, allocations: 4 kB / 1.07 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3624, allocations: 23.98 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3625, allocations: 11.88 kB / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.3625, allocations: 12.22 kB / 1.07 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3625, allocations: 12 kB / 1.07 GB, free: 8.281 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.0001503/0.3627, allocations: 146.5 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.3628, allocations: 11.81 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.363, allocations: 122.4 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.363, allocations: 0 / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.363, allocations: 3.938 kB / 1.071 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.363, allocations: 0 / 1.071 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3633, allocations: 233.5 kB / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3633, allocations: 4 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.3634, allocations: 12 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3634, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3634, allocations: 7.984 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3634, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3634, allocations: 3.938 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3636, allocations: 187.3 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.3637, allocations: 88.92 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3637, allocations: 8 kB / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.364, allocations: 15.97 kB / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.364, allocations: 7.938 kB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.364, allocations: 15.98 kB / 1.071 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001578/0.3642, allocations: 161.4 kB / 1.071 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3642, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003052/0.3645, allocations: 39.89 kB / 1.071 GB, free: 7.141 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.0002716/0.3648, allocations: 130.7 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.365, allocations: 75.83 kB / 1.072 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.365, allocations: 0.75 kB / 1.072 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.3651, allocations: 31.92 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3654, allocations: 19.92 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.3659, allocations: 356.8 kB / 1.072 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.3664, allocations: 0.7314 MB / 1.073 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.3664, allocations: 19.44 kB / 1.073 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3664, allocations: 0 / 1.073 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of Templates: time 0.004921/0.3714, allocations: 2.661 MB / 1.075 GB, free: 3.109 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches