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.001638/0.001638, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002015, allocations: 192 kB / 16.53 MB, free: 6.391 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.486/1.486, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.7 MB / 0.7452 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.69 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2976, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002914/0.3005, allocations: 1.486 MB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3021, allocations: 1.102 MB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.3022, allocations: 0 / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.3024, allocations: 23.84 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.3026, allocations: 35.8 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3029, allocations: 79.12 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3031, allocations: 143.6 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3032, allocations: 57.11 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3033, allocations: 83.69 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3035, allocations: 60.41 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.3036, allocations: 12 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.3037, allocations: 20 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.3038, allocations: 51.88 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.3039, allocations: 75.52 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3041, allocations: 203.6 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.3041, allocations: 0 / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3041, allocations: 0 / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3041, allocations: 0 / 1.072 GB, free: 6.941 MB / 0.8262 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.000663/0.3048, allocations: 490.7 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3048, allocations: 8.031 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.3049, allocations: 24.69 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3052, allocations: 257.8 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.3054, allocations: 123.4 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3054, allocations: 8.375 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.3057, allocations: 157.7 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3058, allocations: 0 / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.3058, allocations: 3.984 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.3058, allocations: 12 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.3059, allocations: 47.84 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.3069, allocations: 456.4 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.307, allocations: 42.5 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.3071, allocations: 24.84 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3071, allocations: 8 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3071, allocations: 30.56 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3071, allocations: 0 / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002832/0.3074, allocations: 105.7 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3075, allocations: 51.41 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3077, allocations: 227.7 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.3077, allocations: 33.64 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.3078, allocations: 124 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.3078, allocations: 27.64 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3079, allocations: 25.7 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.308, allocations: 330.8 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.308, allocations: 19.98 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.3081, allocations: 102.3 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3083, allocations: 146.1 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3083, allocations: 0 / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002302/0.3085, allocations: 153.2 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3086, allocations: 4 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3086, allocations: 4.375 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3086, allocations: 8 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3087, allocations: 23.98 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3087, allocations: 7.875 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.3088, allocations: 11.84 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3088, allocations: 12 kB / 1.075 GB, free: 3.578 MB / 0.8262 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.0001261/0.3089, allocations: 139.6 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.309, allocations: 15.81 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.3092, allocations: 122.5 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3093, allocations: 7.984 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3093, allocations: 3.938 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3093, allocations: 3.938 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3095, allocations: 241.5 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3095, allocations: 0 / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.3096, allocations: 15.98 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3096, allocations: 0 / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3096, allocations: 3.938 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3096, allocations: 4 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3096, allocations: 7.938 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.3098, allocations: 187.7 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.3099, allocations: 85.02 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3099, allocations: 0 / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.3102, allocations: 19.97 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.3102, allocations: 11.94 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3102, allocations: 7.984 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001296/0.3103, allocations: 161.5 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3104, allocations: 0 / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000311/0.3107, allocations: 35.89 kB / 1.076 GB, free: 2.43 MB / 0.8262 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.0002208/0.3109, allocations: 133.5 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.3111, allocations: 79.83 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3111, allocations: 4 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.3111, allocations: 27.92 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3114, allocations: 21.89 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.3119, allocations: 291.7 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3122, allocations: 0.7392 MB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.3123, allocations: 57.41 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.3124, allocations: 15.44 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3124, allocations: 0 / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.005234/0.3176, allocations: 2.39 MB / 1.079 GB, free: 14.67 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=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