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.0009682/0.0009683, allocations: 92.16 kB / 16.02 MB, free: 80 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.00131/0.00131, allocations: 181.7 kB / 16.92 MB, free: 6.922 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 11.55 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3408, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.001864/0.3428, allocations: 1.202 MB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3443, allocations: 1.077 MB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.3444, allocations: 0 / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.3446, allocations: 11.92 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.3448, allocations: 35.84 kB / 1.062 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.345, allocations: 59.17 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3452, allocations: 143.5 kB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3454, allocations: 65.06 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3455, allocations: 67.77 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.3457, allocations: 47.7 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.3457, allocations: 4 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.3458, allocations: 24 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.3459, allocations: 43.81 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.37e-05/0.346, allocations: 93.22 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3462, allocations: 140 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3462, allocations: 4 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3462, allocations: 0 / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.3462, allocations: 0 / 1.062 GB, free: 1.941 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.000641/0.3469, allocations: 462.8 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3469, allocations: 11.97 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.347, allocations: 16.75 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.3473, allocations: 252 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3475, allocations: 119.4 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3475, allocations: 8.312 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.3478, allocations: 176.2 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3479, allocations: 4 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.3479, allocations: 7.938 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.3479, allocations: 7.984 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.348, allocations: 43.92 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3491, allocations: 480.4 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.3492, allocations: 30.56 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.3492, allocations: 24.84 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.3493, allocations: 8.141 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3493, allocations: 38.5 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3493, allocations: 0 / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000278/0.3496, allocations: 101.5 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3497, allocations: 59.41 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.3499, allocations: 215.8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.3499, allocations: 33.7 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.35, allocations: 120 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.35, allocations: 27.56 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3501, allocations: 21.7 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3502, allocations: 326.8 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.3503, allocations: 19.98 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.3504, allocations: 110.2 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3505, allocations: 134.2 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3505, allocations: 4 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002557/0.3508, allocations: 153.2 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3508, allocations: 4.375 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3508, allocations: 8 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3509, allocations: 4 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.351, allocations: 27.92 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.351, allocations: 7.938 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.3511, allocations: 11.88 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3511, allocations: 4 kB / 1.065 GB, free: 14.6 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.0001321/0.3512, allocations: 149.8 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.3513, allocations: 11.81 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.3515, allocations: 136.6 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3515, allocations: 3.938 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3515, allocations: 7.938 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3515, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.3518, allocations: 229.6 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3518, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.3518, allocations: 15.98 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3518, allocations: 0 / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3518, allocations: 4 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3518, allocations: 0 / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3519, allocations: 8.328 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.352, allocations: 191.3 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.3521, allocations: 92.92 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3521, allocations: 7.938 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.3524, allocations: 27.97 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.3524, allocations: 15.92 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3525, allocations: 11.98 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001387/0.3526, allocations: 161.5 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3526, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003066/0.3529, allocations: 28 kB / 1.066 GB, free: 13.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.0002504/0.3532, allocations: 125.1 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3534, allocations: 71.83 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3534, allocations: 4 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.3534, allocations: 23.98 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3537, allocations: 13.88 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.3543, allocations: 371.7 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3546, allocations: 0.7316 MB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.3546, allocations: 19.44 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3547, allocations: 7.938 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of Templates: time 0.004935/0.3596, allocations: 2.616 MB / 1.07 GB, free: 9.434 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