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.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 179.7 kB / 326.5 MB, free: 2.27 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.93/1.93, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009185/0.0009179, allocations: 95.73 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 12.47 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2705, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.4477, allocations: 131.8 MB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.448, allocations: 67.95 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009303/0.4573, allocations: 3.942 MB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4573, allocations: 0 / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.4573, allocations: 0 / 1.033 GB, free: 7.91 MB / 0.6823 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.0004528/0.4578, allocations: 408.7 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4579, allocations: 12.03 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.4579, allocations: 7.906 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.4581, allocations: 179 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.4581, allocations: 4 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4581, allocations: 4 kB / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4583, allocations: 81.66 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4583, allocations: 3.938 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4583, allocations: 0 / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.4583, allocations: 11.94 kB / 1.033 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.4584, allocations: 39.97 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.4589, allocations: 340.7 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.4591, allocations: 126.4 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.4591, allocations: 0 / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.4593, allocations: 87.41 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.4593, allocations: 3.938 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0002665/0.4596, allocations: 153.5 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4596, allocations: 55.36 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.4597, allocations: 124.8 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4597, allocations: 29.7 kB / 1.034 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.4598, allocations: 99.97 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4598, allocations: 19.75 kB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4599, allocations: 0 / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.46, allocations: 322.8 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.782e-05/0.4601, allocations: 31.98 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.4602, allocations: 62.59 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.508e-05/0.4602, allocations: 40.22 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4602, allocations: 0 / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001749/0.4604, allocations: 129.5 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4604, allocations: 4 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4604, allocations: 0 / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.4605, allocations: 4 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.4605, allocations: 11.92 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4605, allocations: 4.031 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.4606, allocations: 11.95 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.4607, allocations: 19.97 kB / 1.035 GB, free: 5.297 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.4608, allocations: 123 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.4608, allocations: 11.95 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.4609, allocations: 12.36 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4609, allocations: 0 / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4609, allocations: 0 / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.4609, allocations: 8 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.4613, allocations: 402.8 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4613, allocations: 0 / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.4613, allocations: 15.94 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4613, allocations: 0 / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.4614, allocations: 96 / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4614, allocations: 7.938 kB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4614, allocations: 3.953 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.4616, allocations: 219.3 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.4616, allocations: 81.11 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4617, allocations: 0 / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.4617, allocations: 8 kB / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.4618, allocations: 7.984 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.4618, allocations: 27.91 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.4619, allocations: 99.2 kB / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4619, allocations: 0 / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002157/0.4621, allocations: 20 kB / 1.036 GB, free: 4.172 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0001374/0.4622, allocations: 104.8 kB / 1.036 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.4624, allocations: 91.89 kB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4624, allocations: 0 / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.4625, allocations: 51.89 kB / 1.036 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4629, allocations: 62.8 kB / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.4632, allocations: 213.1 kB / 1.037 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.4635, allocations: 0.7043 MB / 1.037 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.4636, allocations: 16.38 kB / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.4636, allocations: 19.42 kB / 1.037 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4636, allocations: 0 / 1.037 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of Templates: time 0.003288/0.4669, allocations: 1.476 MB / 1.039 GB, free: 1.398 MB / 0.6823 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