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.431/1.431, allocations: 249.3 MB / 261.9 MB, free: 5.945 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.001023/0.001023, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008617/0.0008619, allocations: 96.23 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.092e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2084, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.692/0.9005, allocations: 131.8 MB / 1.02 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.9007, allocations: 67.53 kB / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009216/0.91, allocations: 3.924 MB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.333e-06/0.91, allocations: 4 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.91, allocations: 4 kB / 1.024 GB, free: 15.64 MB / 0.6511 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.0003986/0.9104, allocations: 383.6 kB / 1.025 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9105, allocations: 16.02 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.9105, allocations: 7.906 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.9107, allocations: 186.4 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.9107, allocations: 7.688 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.9108, allocations: 4 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.9109, allocations: 86.91 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.911, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.911, allocations: 7.938 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.911, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.9111, allocations: 41.73 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.9116, allocations: 334.4 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.9118, allocations: 118.9 kB / 1.026 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.9119, allocations: 58.62 kB / 1.026 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.9119, allocations: 4.234 kB / 1.026 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.9121, allocations: 89.73 kB / 1.026 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.9121, allocations: 8 kB / 1.026 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002517/0.9123, allocations: 122.9 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.9124, allocations: 55.36 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.9125, allocations: 116 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.9125, allocations: 33.02 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.9126, allocations: 95.59 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.9126, allocations: 15.44 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.9126, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9127, allocations: 329.6 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.9128, allocations: 30.06 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.9129, allocations: 61.23 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.418e-05/0.913, allocations: 38.73 kB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.913, allocations: 0 / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001821/0.9132, allocations: 133.2 kB / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.9132, allocations: 7.984 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.9132, allocations: 4 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.9132, allocations: 0 / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.9133, allocations: 4 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.9133, allocations: 4 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.167e-05/0.9134, allocations: 3.953 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.9135, allocations: 23.95 kB / 1.027 GB, free: 13.21 MB / 0.6511 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 8.878e-05/0.9135, allocations: 121.3 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.9136, allocations: 7.906 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.9136, allocations: 12.59 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.9136, allocations: 7.938 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9136, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9136, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.914, allocations: 408.4 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9141, allocations: 0 / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.9141, allocations: 4 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.9141, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.9141, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9141, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9141, allocations: 3.953 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.9143, allocations: 218 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.9144, allocations: 88.95 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.9144, allocations: 3.625 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.959e-05/0.9144, allocations: 4 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.9145, allocations: 19.88 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.9145, allocations: 19.95 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.9146, allocations: 97.14 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9146, allocations: 0 / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002153/0.9148, allocations: 19.75 kB / 1.028 GB, free: 12.18 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.0001355/0.915, allocations: 103.2 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.9151, allocations: 90.28 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9152, allocations: 0 / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.9152, allocations: 46.98 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.9156, allocations: 63.72 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.9159, allocations: 144.3 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.9162, allocations: 0.7043 MB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.472e-05/0.9163, allocations: 16.8 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.9163, allocations: 19.42 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/0.9163, allocations: 0 / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of Templates: time 0.003557/0.9199, allocations: 1.482 MB / 1.03 GB, free: 9.539 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