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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.006796/0.006796, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001567/0.001567, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 69.3 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003175/0.3093, allocations: 1.534 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3109, allocations: 1.097 MB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.311, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.3112, allocations: 11.94 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3114, allocations: 35.83 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3117, allocations: 59.92 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.3119, allocations: 139.5 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.312, allocations: 61.09 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.3122, allocations: 75.75 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.3124, allocations: 63.69 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.3125, allocations: 4 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.3126, allocations: 23.94 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.3127, allocations: 51.81 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.3128, allocations: 67.52 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.313, allocations: 140 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.313, allocations: 4 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.313, allocations: 0 / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.313, allocations: 4 kB / 1.056 GB, free: 4.926 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.0007271/0.3137, allocations: 490.7 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3138, allocations: 8.031 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.3139, allocations: 16.75 kB / 1.057 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3142, allocations: 255.9 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.3143, allocations: 119.4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3144, allocations: 4.375 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.3147, allocations: 161.6 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3147, allocations: 4 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.3148, allocations: 4 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.3148, allocations: 11.98 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.971e-05/0.3149, allocations: 47.91 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.316, allocations: 456.4 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/0.316, allocations: 30.56 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.3161, allocations: 28.86 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.3161, allocations: 7.984 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3162, allocations: 30.56 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3162, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002909/0.3165, allocations: 109.6 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3165, allocations: 55.41 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3167, allocations: 219.8 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3168, allocations: 29.7 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.3169, allocations: 127.9 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.3169, allocations: 27.64 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.3169, allocations: 25.72 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3171, allocations: 322.8 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.3171, allocations: 31.97 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3172, allocations: 106.2 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3174, allocations: 138.2 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3174, allocations: 0 / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002345/0.3177, allocations: 153.2 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3177, allocations: 8 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3177, allocations: 7.984 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3177, allocations: 4 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3178, allocations: 28.23 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3178, allocations: 11.94 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.3179, allocations: 15.84 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3179, allocations: 8 kB / 1.059 GB, free: 1.566 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.0001214/0.3181, allocations: 141.8 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.3181, allocations: 15.81 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.3183, allocations: 115.7 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3184, allocations: 4 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3184, allocations: 7.938 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3184, allocations: 0 / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3186, allocations: 233.5 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3186, allocations: 4 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.3187, allocations: 15.94 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3187, allocations: 0 / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3187, allocations: 4 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.3187, allocations: 0 / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3187, allocations: 7.938 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3189, allocations: 183.3 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.319, allocations: 92.91 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.319, allocations: 0 / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.3192, allocations: 19.98 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.3193, allocations: 11.92 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3193, allocations: 7.984 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001407/0.3194, allocations: 169.4 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3194, allocations: 0 / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003083/0.3198, allocations: 36 kB / 1.06 GB, free: 436 kB / 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.0002615/0.32, allocations: 126.6 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.3202, allocations: 72.47 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3202, allocations: 0 / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.3203, allocations: 23.98 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.3206, allocations: 27.25 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.3211, allocations: 354.5 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3214, allocations: 0.7316 MB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.3215, allocations: 31.36 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3215, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.004634/0.3261, allocations: 2.635 MB / 1.064 GB, free: 12.42 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/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