Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001355/0.001355, allocations: 108 kB / 15.61 MB, free: 152 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.001633/0.001633, allocations: 197 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 63.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5788/0.581, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002166/0.5832, allocations: 0.8654 MB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.5849, allocations: 1.455 MB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.585, allocations: 7.938 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.5854, allocations: 191.5 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.5856, allocations: 119.6 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.5864, allocations: 348.3 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000726/0.5871, allocations: 0.8582 MB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.5873, allocations: 100.2 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.5876, allocations: 347.5 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.5879, allocations: 267.2 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.5881, allocations: 44 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.5883, allocations: 108 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.5887, allocations: 339.3 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.589, allocations: 278.8 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.5897, allocations: 0.8982 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5897, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5898, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5898, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 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.001311/0.5911, allocations: 0.8918 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5911, allocations: 12.03 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.5912, allocations: 46.73 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.5914, allocations: 48.47 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.5921, allocations: 0.5448 MB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.5921, allocations: 24.55 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.5922, allocations: 36.38 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.5926, allocations: 307.2 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5926, allocations: 3.938 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.5927, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5927, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.593, allocations: 227.8 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.5946, allocations: 1.191 MB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.5952, allocations: 467.7 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.5954, allocations: 182.6 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.5955, allocations: 4 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.5958, allocations: 329.4 kB / 1.028 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.5959, allocations: 0 / 1.028 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.000906/0.5968, allocations: 0.6297 MB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.5968, allocations: 118.8 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.5974, allocations: 0.5955 MB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-05/0.5975, allocations: 45.69 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.5977, allocations: 222.5 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.5978, allocations: 47.45 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.598, allocations: 181.5 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5981, allocations: 362.8 kB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.5983, allocations: 128.7 kB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.599, allocations: 0.7227 MB / 1.031 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.5994, allocations: 296.6 kB / 1.031 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5994, allocations: 7.938 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005799/0.5999, allocations: 420.7 kB / 1.031 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6, allocations: 6.406 kB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.6, allocations: 11.94 kB / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6, allocations: 4 kB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.6001, allocations: 35.86 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6002, allocations: 7.938 kB / 1.031 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.6014, allocations: 131.7 kB / 1.031 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.6014, allocations: 16 kB / 1.032 GB, free: 3.527 MB / 0.7794 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.0002503/0.6017, allocations: 255.2 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.6017, allocations: 39.44 kB / 1.032 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.6018, allocations: 59.3 kB / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6018, allocations: 4 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6018, allocations: 0 / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.6018, allocations: 4 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.6022, allocations: 417.2 kB / 1.032 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.6022, allocations: 0 / 1.032 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.6023, allocations: 7.938 kB / 1.032 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.6023, allocations: 4 kB / 1.032 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.6023, allocations: 15.92 kB / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.6023, allocations: 4 kB / 1.032 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6023, allocations: 0 / 1.032 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.6032, allocations: 0.5075 MB / 1.033 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-05/0.6033, allocations: 128.6 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.6034, allocations: 15.81 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.6036, allocations: 15.97 kB / 1.033 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.6036, allocations: 31.97 kB / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.6037, allocations: 16 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004271/0.6041, allocations: 431.1 kB / 1.033 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6041, allocations: 4 kB / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004056/0.6045, allocations: 111.9 kB / 1.033 GB, free: 1.395 MB / 0.7794 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.0009216/0.6054, allocations: 1.1 MB / 1.035 GB, free: 264 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.606, allocations: 376 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.606, allocations: 7.938 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.6062, allocations: 187.8 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.6065, allocations: 36.42 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/0.6112, allocations: 4.44 MB / 1.039 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.6115, allocations: 0.8311 MB / 1.04 GB, free: 10.19 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.6118, allocations: 94.92 kB / 1.04 GB, free: 10.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.6119, allocations: 127.4 kB / 1.041 GB, free: 9.965 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.6119, allocations: 0 / 1.041 GB, free: 9.965 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.6418, allocations: 11.48 MB / 1.052 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/8.002, allocations: 9.094 kB / 1.052 GB, free: 14.73 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches