Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001204/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001242/0.001242, allocations: 195 kB / 16.14 MB, free: 6.711 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.6442, allocations: 140.4 MB / 0.9491 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001767/0.646, allocations: 0.7459 MB / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.6474, allocations: 1.343 MB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.6475, allocations: 1.125 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.6479, allocations: 190.4 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.648, allocations: 99.56 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.6485, allocations: 202.3 kB / 0.9516 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.6489, allocations: 443 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.649, allocations: 9.125 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.6492, allocations: 187.5 kB / 0.9522 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.6494, allocations: 194.2 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.6495, allocations: 15.25 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.6497, allocations: 70.72 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.65, allocations: 239.4 kB / 0.9527 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.6502, allocations: 149.3 kB / 0.9528 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.6506, allocations: 457.4 kB / 0.9533 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6506, allocations: 3.938 kB / 0.9533 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6506, allocations: 1.125 kB / 0.9533 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.6506, allocations: 0 / 0.9533 GB, free: 6.309 MB / 0.7169 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.0008685/0.6515, allocations: 0.6395 MB / 0.9539 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.6516, allocations: 9.062 kB / 0.9539 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.6516, allocations: 37.05 kB / 0.9539 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.6517, allocations: 33.66 kB / 0.954 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.6522, allocations: 376.5 kB / 0.9543 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6522, allocations: 17.36 kB / 0.9543 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/0.6523, allocations: 25.02 kB / 0.9544 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.6526, allocations: 193 kB / 0.9546 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6526, allocations: 4 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.6526, allocations: 0 / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.6526, allocations: 3.688 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.6528, allocations: 107.5 kB / 0.9547 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.6531, allocations: 391.9 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.6536, allocations: 320.4 kB / 0.9553 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.6537, allocations: 121.7 kB / 0.9555 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.6537, allocations: 5.312 kB / 0.9555 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.6541, allocations: 284.9 kB / 0.9557 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.6542, allocations: 0.8438 kB / 0.9557 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008241/0.655, allocations: 0.4918 MB / 0.9562 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.655, allocations: 109.1 kB / 0.9563 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.6555, allocations: 405.6 kB / 0.9567 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.6555, allocations: 40.58 kB / 0.9567 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.6557, allocations: 155.2 kB / 0.9569 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.6557, allocations: 38.81 kB / 0.9569 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.6559, allocations: 112.5 kB / 0.957 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.656, allocations: 349.6 kB / 0.9574 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.6561, allocations: 89.86 kB / 0.9575 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.6565, allocations: 462.6 kB / 0.9579 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.6568, allocations: 258.1 kB / 0.9581 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6568, allocations: 5.125 kB / 0.9581 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004829/0.6573, allocations: 329.1 kB / 0.9585 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6573, allocations: 6.375 kB / 0.9585 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6573, allocations: 7.219 kB / 0.9585 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6573, allocations: 5.438 kB / 0.9585 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.6575, allocations: 28.14 kB / 0.9585 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.6575, allocations: 5.75 kB / 0.9585 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007423/0.6582, allocations: 78.7 kB / 0.9586 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.6583, allocations: 14.86 kB / 0.9586 GB, free: 2.328 MB / 0.7169 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.0002036/0.6585, allocations: 194.8 kB / 0.9588 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.6586, allocations: 29.12 kB / 0.9588 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.088e-05/0.6586, allocations: 36.92 kB / 0.9589 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6586, allocations: 2.5 kB / 0.9589 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6586, allocations: 1 kB / 0.9589 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6586, allocations: 1.125 kB / 0.9589 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.6589, allocations: 288 kB / 0.9591 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6589, allocations: 0 / 0.9591 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.659, allocations: 7.75 kB / 0.9591 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.659, allocations: 5.188 kB / 0.9591 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.659, allocations: 12.77 kB / 0.9592 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.659, allocations: 1.281 kB / 0.9592 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.659, allocations: 5.312 kB / 0.9592 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.6596, allocations: 435.7 kB / 0.9596 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.6597, allocations: 101.9 kB / 0.9597 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.6597, allocations: 10.27 kB / 0.9597 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.6598, allocations: 5.438 kB / 0.9597 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.6599, allocations: 15.73 kB / 0.9597 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.6599, allocations: 17.92 kB / 0.9597 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000298/0.6602, allocations: 292.9 kB / 0.96 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6602, allocations: 0 / 0.96 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003943/0.6606, allocations: 75.84 kB / 0.9601 GB, free: 1.305 MB / 0.7169 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.0007939/0.6614, allocations: 1.007 MB / 0.9611 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.6618, allocations: 254.3 kB / 0.9613 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6618, allocations: 0 / 0.9613 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.662, allocations: 149.1 kB / 0.9614 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.6623, allocations: 26.2 kB / 0.9615 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.6662, allocations: 3.294 MB / 0.9647 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.6666, allocations: 0.7632 MB / 0.9654 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.6667, allocations: 50.69 kB / 0.9655 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.6669, allocations: 87.73 kB / 0.9656 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.6669, allocations: 0 / 0.9656 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.6955, allocations: 7.234 MB / 0.9726 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.6957, allocations: 218.6 kB / 0.9728 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.8, allocations: 15.12 kB / 0.9728 GB, free: 9.125 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches