Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001064, allocations: 164.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 81.22 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.601e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2282, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7734/1.002, allocations: 132 MB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.002, allocations: 74.03 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00957/1.011, allocations: 3.9 MB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/1.012, allocations: 0 / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.012, allocations: 4 kB / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004668/1.012, allocations: 383.8 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.012, allocations: 15.97 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/1.012, allocations: 11.89 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/1.012, allocations: 186.4 kB / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/1.012, allocations: 0 / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/1.012, allocations: 4 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/1.012, allocations: 35.11 kB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/1.013, allocations: 80.41 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/1.013, allocations: 0 / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.013, allocations: 0.75 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.013, allocations: 0 / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/1.013, allocations: 318.7 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/1.013, allocations: 109.4 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/1.013, allocations: 63.34 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/1.013, allocations: 4 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/1.014, allocations: 90.14 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/1.014, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002385/1.014, allocations: 107.4 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/1.014, allocations: 62.89 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/1.014, allocations: 116.2 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/1.014, allocations: 25.7 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/1.014, allocations: 95.61 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/1.014, allocations: 19.47 kB / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.014, allocations: 0 / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.014, allocations: 322.1 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/1.014, allocations: 34.86 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/1.014, allocations: 53.36 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.42e-05/1.014, allocations: 43.03 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.014, allocations: 0 / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001536/1.015, allocations: 120.1 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.015, allocations: 4 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.015, allocations: 8 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/1.015, allocations: 0 / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/1.015, allocations: 7.938 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/1.015, allocations: 4 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/1.015, allocations: 3.984 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/1.015, allocations: 27.06 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/1.015, allocations: 111.8 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/1.015, allocations: 7.906 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/1.015, allocations: 8.125 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.015, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.015, allocations: 3.984 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.015, allocations: 4 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/1.015, allocations: 377.3 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.015, allocations: 96 / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/1.015, allocations: 15.86 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.015, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/1.015, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.015, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.015, allocations: 4 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/1.016, allocations: 219.5 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/1.016, allocations: 84.14 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/1.016, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/1.016, allocations: 4 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/1.016, allocations: 7.984 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/1.016, allocations: 23.95 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.983e-05/1.016, allocations: 95.59 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.016, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002201/1.016, allocations: 16 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/1.016, allocations: 103.2 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001725/1.017, allocations: 84.72 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.017, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/1.017, allocations: 45.86 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/1.017, allocations: 74.69 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/1.017, allocations: 140.3 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/1.018, allocations: 0.6924 MB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.261e-05/1.018, allocations: 12.42 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/1.018, allocations: 18.73 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/1.018, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of Templates: time 0.003386/1.021, allocations: 1.42 MB / 1.024 GB, free: 12.61 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches