Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_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.01306/0.01306, allocations: 99.83 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 193.7 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.512/2.512, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.182/5.182, allocations: 437 MB / 0.7105 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003217/0.003217, allocations: 67.89 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553/1.556, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.003463/1.56, allocations: 0.6851 MB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003676/1.563, allocations: 1.353 MB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/1.563, allocations: 4 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008372/1.564, allocations: 183.5 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/1.565, allocations: 107.7 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/1.566, allocations: 232.1 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001089/1.567, allocations: 491.7 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.78e-05/1.567, allocations: 8 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/1.568, allocations: 203.6 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/1.568, allocations: 215.6 kB / 1.17 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/1.568, allocations: 20 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/1.569, allocations: 79.94 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006819/1.57, allocations: 255.5 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/1.57, allocations: 155.3 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/1.571, allocations: 470.2 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.571, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.234e-06/1.571, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.596e-06/1.571, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001926/1.573, allocations: 0.6539 MB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.811e-05/1.573, allocations: 8.922 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.858e-05/1.573, allocations: 38.73 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/1.574, allocations: 28.8 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009822/1.575, allocations: 392.3 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/1.575, allocations: 16.36 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.575, allocations: 20.38 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/1.575, allocations: 192.6 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.575, allocations: 3.938 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/1.575, allocations: 8 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.575, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/1.576, allocations: 115.9 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008515/1.577, allocations: 383.1 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008432/1.578, allocations: 319.6 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/1.578, allocations: 122.6 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/1.578, allocations: 0 / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008669/1.579, allocations: 292 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 2.395e-06/1.579, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001676/1.581, allocations: 497.3 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/1.581, allocations: 126.7 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/1.582, allocations: 400.5 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/1.582, allocations: 37.7 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/1.582, allocations: 152.8 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/1.582, allocations: 47.61 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/1.583, allocations: 117.6 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002539/1.583, allocations: 346.8 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/1.583, allocations: 79.95 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.584, allocations: 463 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/1.585, allocations: 253.5 kB / 1.175 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.585, allocations: 4 kB / 1.175 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001155/1.586, allocations: 333 kB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.586, allocations: 7.938 kB / 1.176 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.586, allocations: 4 kB / 1.176 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/1.586, allocations: 4 kB / 1.176 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/1.587, allocations: 31.92 kB / 1.176 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/1.587, allocations: 5.031 kB / 1.176 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.588, allocations: 80.2 kB / 1.176 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/1.588, allocations: 16 kB / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0004608/1.589, allocations: 191.9 kB / 1.176 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.589, allocations: 35.75 kB / 1.176 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/1.589, allocations: 37.89 kB / 1.176 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/1.589, allocations: 4 kB / 1.176 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.589, allocations: 0 / 1.176 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.589, allocations: 3.938 kB / 1.176 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/1.589, allocations: 285.5 kB / 1.176 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.59, allocations: 0 / 1.176 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/1.59, allocations: 4 kB / 1.176 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/1.59, allocations: 3.938 kB / 1.176 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/1.59, allocations: 11.92 kB / 1.176 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.59, allocations: 3.938 kB / 1.176 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.59, allocations: 8 kB / 1.176 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/1.591, allocations: 430.4 kB / 1.177 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.591, allocations: 104.9 kB / 1.177 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/1.591, allocations: 7.984 kB / 1.177 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/1.591, allocations: 0 / 1.177 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/1.591, allocations: 23.98 kB / 1.177 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/1.592, allocations: 15.98 kB / 1.177 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006036/1.592, allocations: 287 kB / 1.177 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/1.592, allocations: 0 / 1.177 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008373/1.593, allocations: 79.88 kB / 1.177 GB, free: 7.77 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001894/1.595, allocations: 1.004 MB / 1.178 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009581/1.596, allocations: 259.7 kB / 1.179 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.596, allocations: 0 / 1.179 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/1.596, allocations: 144.7 kB / 1.179 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/1.597, allocations: 34.64 kB / 1.179 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007728/1.605, allocations: 3.268 MB / 1.182 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/1.605, allocations: 0.7636 MB / 1.183 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003634/1.606, allocations: 54.11 kB / 1.183 GB, free: 2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/1.606, allocations: 83.41 kB / 1.183 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of SimCode: time 9.52e-07/1.606, allocations: 3.938 kB / 1.183 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/1.745, allocations: 7.598 MB / 1.19 GB, free: 10.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.85/19.6, allocations: 13.5 kB / 1.19 GB, free: 10.51 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.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_Integers_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches