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.007524/0.007524, allocations: 99.73 kB / 15.73 MB, free: 6.043 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.001669/0.001669, allocations: 197.9 kB / 16.68 MB, free: 5.965 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3157, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003188/0.3189, allocations: 1.472 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3204, allocations: 1.113 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.3205, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.3206, allocations: 23.84 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.3208, allocations: 39.78 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.321, allocations: 55.8 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.3212, allocations: 143.6 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3214, allocations: 61.03 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.3214, allocations: 83.7 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3216, allocations: 59.69 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.3217, allocations: 12 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.3217, allocations: 32 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.3218, allocations: 47.88 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.3219, allocations: 75.52 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3222, allocations: 199.2 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3222, allocations: 4 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3222, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3222, allocations: 3.938 kB / 1.224 GB, free: 10.41 MB / 0.9825 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.0007044/0.3229, allocations: 490.5 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.3229, allocations: 16.03 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.323, allocations: 20.8 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.3233, allocations: 256 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.3235, allocations: 119.4 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.3235, allocations: 4.375 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.3238, allocations: 165.6 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3238, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3239, allocations: 4 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.3239, allocations: 19.98 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.324, allocations: 43.97 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.325, allocations: 452.4 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.3251, allocations: 42.55 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.3251, allocations: 24.84 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3252, allocations: 8.141 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3252, allocations: 30.56 kB / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.3252, allocations: 0 / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002974/0.3255, allocations: 109.5 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.3255, allocations: 51.41 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.3258, allocations: 227.7 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3258, allocations: 29.7 kB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.3259, allocations: 124.2 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.3259, allocations: 23.75 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.326, allocations: 33.7 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3261, allocations: 322.8 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.3261, allocations: 31.97 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3262, allocations: 102.2 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3264, allocations: 146.1 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3264, allocations: 0 / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002363/0.3267, allocations: 149.3 kB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3267, allocations: 8 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3267, allocations: 4.375 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3267, allocations: 7.938 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3268, allocations: 27.92 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3268, allocations: 7.938 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.971e-05/0.3269, allocations: 11.95 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3269, allocations: 8 kB / 1.227 GB, free: 7.023 MB / 0.9825 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.0001364/0.327, allocations: 149.7 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.3271, allocations: 15.91 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.3273, allocations: 114.9 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3273, allocations: 4 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3273, allocations: 3.938 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3273, allocations: 4 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.3276, allocations: 229.6 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3276, allocations: 0 / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.3276, allocations: 15.94 kB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3276, allocations: 0 / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3276, allocations: 4 kB / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3276, allocations: 0 / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3276, allocations: 3.938 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3278, allocations: 195.3 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3279, allocations: 89.05 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3279, allocations: 0 / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.3282, allocations: 19.98 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.3282, allocations: 15.92 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3282, allocations: 7.984 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001423/0.3284, allocations: 165.5 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3284, allocations: 4 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002977/0.3286, allocations: 31.95 kB / 1.228 GB, free: 5.875 MB / 0.9825 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.000267/0.3289, allocations: 136.1 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.3291, allocations: 76.08 kB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3291, allocations: 0 / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.3291, allocations: 23.98 kB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3294, allocations: 25.42 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.3299, allocations: 295.1 kB / 1.228 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.3302, allocations: 0.7358 MB / 1.229 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.3303, allocations: 52.58 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.3304, allocations: 15.44 kB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3304, allocations: 0 / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of Templates: time 0.005159/0.3355, allocations: 2.403 MB / 1.232 GB, free: 2.121 MB / 0.9825 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=480 -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/jenkins/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