Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 112.5 kB / 15.73 MB, free: 76 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.001992/0.001992, allocations: 194.5 kB / 16.67 MB, free: 6.582 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.016/3.016, allocations: 469.8 MB / 0.7425 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3593, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002056/0.3614, allocations: 0.8609 MB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.3635, allocations: 1.455 MB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.3636, allocations: 4 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.3641, allocations: 207.4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.3643, allocations: 99.61 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3653, allocations: 370.6 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009973/0.3663, allocations: 0.8738 MB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.3665, allocations: 96.23 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.3669, allocations: 343.5 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.3673, allocations: 271.2 kB / 1.225 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.3675, allocations: 44 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.3678, allocations: 107.9 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004681/0.3682, allocations: 347.3 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.3686, allocations: 270.9 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000974/0.3696, allocations: 0.919 MB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3696, allocations: 0 / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3696, allocations: 0 / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3696, allocations: 0 / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001625/0.3712, allocations: 0.9072 MB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3713, allocations: 8.031 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.3714, allocations: 46.73 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.3715, allocations: 60.64 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.3723, allocations: 0.5413 MB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.3724, allocations: 24.61 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3725, allocations: 32.38 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.373, allocations: 318.9 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.373, allocations: 3.938 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.373, allocations: 4 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.3731, allocations: 4 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.3734, allocations: 223.8 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.3753, allocations: 1.18 MB / 1.23 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.376, allocations: 467.8 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3763, allocations: 186.5 kB / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3763, allocations: 4 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/0.3768, allocations: 336.1 kB / 1.23 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.3768, allocations: 4 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001075/0.3779, allocations: 0.626 MB / 1.231 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.378, allocations: 118.8 kB / 1.231 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.3787, allocations: 0.5916 MB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.3788, allocations: 41.7 kB / 1.232 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.379, allocations: 225.4 kB / 1.232 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.3791, allocations: 51.64 kB / 1.232 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.3794, allocations: 185.5 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.3796, allocations: 358.8 kB / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3798, allocations: 131.8 kB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/0.3807, allocations: 0.7146 MB / 1.233 GB, free: 268 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.3811, allocations: 292.7 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3811, allocations: 0 / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000674/0.3818, allocations: 425 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3818, allocations: 8 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3818, allocations: 80 / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3818, allocations: 11.94 kB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.382, allocations: 35.84 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.382, allocations: 11.98 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.3833, allocations: 133 kB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.3834, allocations: 12 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003469/0.3837, allocations: 257.7 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.3838, allocations: 47.66 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.3839, allocations: 47.38 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3839, allocations: 7.938 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3839, allocations: 3.984 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3839, allocations: 4 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.3844, allocations: 413.2 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3844, allocations: 0 / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.3844, allocations: 7.984 kB / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3844, allocations: 0 / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3844, allocations: 12 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.3845, allocations: 7.938 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3845, allocations: 0 / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/0.3852, allocations: 0.5138 MB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.3853, allocations: 120.9 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.3854, allocations: 7.984 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3855, allocations: 27.92 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.3856, allocations: 23.97 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.3857, allocations: 23.98 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005225/0.3862, allocations: 431.1 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.02e-07/0.3862, allocations: 0 / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004639/0.3867, allocations: 111.8 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0012/0.3879, allocations: 1.114 MB / 1.237 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005969/0.3885, allocations: 352.4 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3885, allocations: 4.125 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.3888, allocations: 183.9 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3891, allocations: 43.98 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.3946, allocations: 4.431 MB / 1.242 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.3951, allocations: 0.8389 MB / 1.243 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.3953, allocations: 90.94 kB / 1.243 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3956, allocations: 127.4 kB / 1.243 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3956, allocations: 0 / 1.243 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6283/1.024, allocations: 11.55 MB / 1.255 GB, free: 30.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.899/9.923, allocations: 3.797 kB / 1.255 GB, free: 30.02 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches