Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.526/2.526, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 179.2 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.898/1.898, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 98.48 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.695e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3677, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.549, allocations: 150.5 MB / 1.359 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.549, allocations: 91.84 kB / 1.359 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01042/1.559, allocations: 4.271 MB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/1.559, allocations: 3.938 kB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.559, allocations: 0 / 1.364 GB, free: 33.14 MB / 0.8386 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.0004216/1.56, allocations: 389.8 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.56, allocations: 7.719 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/1.56, allocations: 7.719 kB / 1.364 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/1.56, allocations: 182.5 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/1.56, allocations: 3.812 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/1.56, allocations: 3.875 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001247/1.56, allocations: 42.45 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/1.561, allocations: 71.06 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.561, allocations: 0 / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.561, allocations: 7.125 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.561, allocations: 0 / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/1.561, allocations: 309 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/1.561, allocations: 107.3 kB / 1.365 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/1.561, allocations: 67.22 kB / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/1.561, allocations: 112 / 1.365 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/1.562, allocations: 98.84 kB / 1.365 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/1.562, allocations: 0 / 1.365 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002611/1.562, allocations: 112.9 kB / 1.365 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/1.562, allocations: 60.08 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.562, allocations: 120.5 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.562, allocations: 25.7 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/1.562, allocations: 89.12 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/1.562, allocations: 14.78 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/1.562, allocations: 4 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.562, allocations: 316.9 kB / 1.365 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/1.562, allocations: 41.36 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.807e-05/1.562, allocations: 50.48 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.636e-05/1.563, allocations: 33.75 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.563, allocations: 0 / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001543/1.563, allocations: 121.9 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.563, allocations: 6.391 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.563, allocations: 3.875 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.563, allocations: 0 / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/1.563, allocations: 17.48 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.563, allocations: 3.781 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/1.563, allocations: 5.453 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/1.563, allocations: 20.16 kB / 1.366 GB, free: 31.45 MB / 0.8386 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 9.721e-05/1.563, allocations: 110.8 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/1.563, allocations: 7.719 kB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/1.563, allocations: 17.08 kB / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.563, allocations: 0 / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.563, allocations: 0 / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.563, allocations: 1.547 kB / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/1.564, allocations: 381 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.564, allocations: 4 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/1.564, allocations: 4.547 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.564, allocations: 0 / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/1.564, allocations: 7.234 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.564, allocations: 0 / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.564, allocations: 0 / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/1.564, allocations: 212.1 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/1.564, allocations: 86.06 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/1.564, allocations: 4 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/1.564, allocations: 4.844 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/1.564, allocations: 7.984 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/1.564, allocations: 27.98 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.162e-05/1.564, allocations: 97.16 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.564, allocations: 0 / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002262/1.564, allocations: 15.45 kB / 1.367 GB, free: 30.72 MB / 0.8386 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.0001413/1.565, allocations: 107.2 kB / 1.367 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001467/1.565, allocations: 88.19 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.565, allocations: 0 / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/1.565, allocations: 47.12 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/1.565, allocations: 65.25 kB / 1.367 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/1.565, allocations: 147.2 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/1.566, allocations: 0.6966 MB / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.797e-05/1.566, allocations: 15.22 kB / 1.368 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/1.566, allocations: 17.94 kB / 1.368 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.566, allocations: 0 / 1.368 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.003734/1.57, allocations: 1.493 MB / 1.369 GB, free: 29.7 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches