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.0009216/0.0009217, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.000883/0.0008832, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.27 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.309/2.309, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7222, allocations: 142.4 MB / 0.9552 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0007531/0.723, allocations: 418.2 kB / 0.9556 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.7248, allocations: 1.329 MB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.7249, allocations: 3.938 kB / 0.9569 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.7254, allocations: 191 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.7256, allocations: 99.92 kB / 0.9572 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.7264, allocations: 209.6 kB / 0.9574 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.727, allocations: 435.5 kB / 0.9578 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.727, allocations: 13.11 kB / 0.9578 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.7274, allocations: 182.3 kB / 0.958 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.7278, allocations: 207.1 kB / 0.9582 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.728, allocations: 10.28 kB / 0.9582 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.7282, allocations: 71.5 kB / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003703/0.7286, allocations: 240.5 kB / 0.9585 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.7289, allocations: 165.1 kB / 0.9586 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.7296, allocations: 458.7 kB / 0.9591 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7296, allocations: 0 / 0.9591 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7296, allocations: 0 / 0.9591 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.7296, allocations: 4 kB / 0.9591 GB, free: 4.984 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.0008852/0.7305, allocations: 0.5266 MB / 0.9596 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7305, allocations: 8.25 kB / 0.9596 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.7306, allocations: 37.44 kB / 0.9596 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.7308, allocations: 29.16 kB / 0.9597 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.7313, allocations: 385.1 kB / 0.96 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.7313, allocations: 17.25 kB / 0.96 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.7314, allocations: 15.44 kB / 0.9601 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.7317, allocations: 201.4 kB / 0.9603 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.7317, allocations: 0 / 0.9603 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.7317, allocations: 4.859 kB / 0.9603 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7317, allocations: 4.938 kB / 0.9603 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.7319, allocations: 110.8 kB / 0.9604 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.7324, allocations: 390.6 kB / 0.9607 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.7329, allocations: 317.3 kB / 0.961 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.7331, allocations: 128.8 kB / 0.9612 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.7331, allocations: 9 kB / 0.9612 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.7335, allocations: 278.9 kB / 0.9614 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.542e-06/0.7335, allocations: 4 kB / 0.9614 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008393/0.7344, allocations: 0.492 MB / 0.9619 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.7344, allocations: 112 kB / 0.962 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.7349, allocations: 394.1 kB / 0.9624 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.735, allocations: 40.67 kB / 0.9624 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.7351, allocations: 158.8 kB / 0.9626 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.7351, allocations: 42.94 kB / 0.9626 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.7352, allocations: 31.45 kB / 0.9627 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.7353, allocations: 348.3 kB / 0.963 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.7354, allocations: 82.83 kB / 0.9631 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.7358, allocations: 466.3 kB / 0.9635 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.7361, allocations: 258.3 kB / 0.9638 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.7361, allocations: 5.281 kB / 0.9638 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004987/0.7366, allocations: 324.7 kB / 0.9641 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.7366, allocations: 7.062 kB / 0.9641 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.7366, allocations: 3.281 kB / 0.9641 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.7366, allocations: 9.281 kB / 0.9641 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.7368, allocations: 33.02 kB / 0.9641 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.7368, allocations: 5.094 kB / 0.9641 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.7376, allocations: 82.19 kB / 0.9642 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.7377, allocations: 15.02 kB / 0.9642 GB, free: 1.109 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.0001976/0.7379, allocations: 194.8 kB / 0.9644 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.7379, allocations: 32.17 kB / 0.9644 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.738, allocations: 37.83 kB / 0.9645 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.738, allocations: 3.062 kB / 0.9645 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.738, allocations: 1.062 kB / 0.9645 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.738, allocations: 0 / 0.9645 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.7383, allocations: 284.3 kB / 0.9648 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.7383, allocations: 0.7188 kB / 0.9648 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.7383, allocations: 10.88 kB / 0.9648 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.7383, allocations: 5.969 kB / 0.9648 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.7383, allocations: 8.109 kB / 0.9648 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7383, allocations: 5.031 kB / 0.9648 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7383, allocations: 0.9688 kB / 0.9648 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.7389, allocations: 438.5 kB / 0.9652 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.739, allocations: 115.4 kB / 0.9653 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.739, allocations: 7 kB / 0.9653 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.7391, allocations: 9.188 kB / 0.9653 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.7392, allocations: 16.33 kB / 0.9653 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.7392, allocations: 14.38 kB / 0.9654 GB, free: 264 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003066/0.7395, allocations: 291.7 kB / 0.9656 GB, free: 96 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7395, allocations: 0 / 0.9656 GB, free: 96 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004205/0.74, allocations: 79.73 kB / 0.9657 GB, free: 80 kB / 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.001021/0.741, allocations: 1.012 MB / 0.9667 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.7415, allocations: 254.5 kB / 0.9669 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7415, allocations: 0 / 0.9669 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.7417, allocations: 143.5 kB / 0.9671 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.7421, allocations: 27.05 kB / 0.9671 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.7466, allocations: 3.29 MB / 0.9703 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.747, allocations: 0.7677 MB / 0.9711 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.7471, allocations: 45.55 kB / 0.9711 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.7473, allocations: 84.08 kB / 0.9712 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of SimCode: time 1.483e-06/0.7473, allocations: 0 / 0.9712 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.7669, allocations: 7.127 MB / 0.9782 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.7671, allocations: 218.9 kB / 0.9784 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.603, allocations: 0 / 0.9784 GB, free: 6.961 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