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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001178/0.001179, allocations: 108 kB / 15.6 MB, free: 132 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.001264/0.001264, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6956, allocations: 140.4 MB / 0.9497 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002068/0.6977, allocations: 0.6769 MB / 0.9504 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.6994, allocations: 1.338 MB / 0.9517 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.046e-05/0.6996, allocations: 1.094 kB / 0.9517 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.7, allocations: 190.6 kB / 0.9519 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.7002, allocations: 103.7 kB / 0.952 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.7009, allocations: 230 kB / 0.9522 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.7014, allocations: 474.9 kB / 0.9527 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.7014, allocations: 6.156 kB / 0.9527 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.7017, allocations: 204.8 kB / 0.9529 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.7021, allocations: 212.4 kB / 0.9531 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.7023, allocations: 20.69 kB / 0.9531 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.7025, allocations: 89.22 kB / 0.9532 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.7029, allocations: 250.7 kB / 0.9534 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.7032, allocations: 155.6 kB / 0.9536 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.7037, allocations: 469 kB / 0.954 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7037, allocations: 0 / 0.954 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7037, allocations: 0 / 0.954 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.7037, allocations: 0 / 0.954 GB, free: 6.516 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.001032/0.7048, allocations: 0.636 MB / 0.9546 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.7048, allocations: 14.17 kB / 0.9546 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.7049, allocations: 32.12 kB / 0.9547 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.705, allocations: 34.84 kB / 0.9547 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.7055, allocations: 387.3 kB / 0.9551 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.7055, allocations: 18.17 kB / 0.9551 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.7056, allocations: 19.94 kB / 0.9551 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.7058, allocations: 195.9 kB / 0.9553 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.7059, allocations: 1.375 kB / 0.9553 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.7059, allocations: 0 / 0.9553 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7059, allocations: 1.375 kB / 0.9553 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.706, allocations: 113.9 kB / 0.9554 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.7064, allocations: 391.8 kB / 0.9558 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.7068, allocations: 316.3 kB / 0.9561 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.707, allocations: 124.9 kB / 0.9562 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.707, allocations: 9.031 kB / 0.9562 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.7074, allocations: 282.4 kB / 0.9565 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/0.7074, allocations: 3.984 kB / 0.9565 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0007807/0.7082, allocations: 0.5001 MB / 0.957 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.7082, allocations: 108.7 kB / 0.9571 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.7086, allocations: 401 kB / 0.9575 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.7087, allocations: 40.95 kB / 0.9575 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.7088, allocations: 155.1 kB / 0.9576 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.7089, allocations: 38.59 kB / 0.9577 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.709, allocations: 113.8 kB / 0.9578 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.7091, allocations: 356.5 kB / 0.9581 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.7092, allocations: 82.42 kB / 0.9582 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.7096, allocations: 462.5 kB / 0.9586 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.7099, allocations: 254.8 kB / 0.9589 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7099, allocations: 9 kB / 0.9589 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004973/0.7104, allocations: 325.4 kB / 0.9592 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7105, allocations: 6.281 kB / 0.9592 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7105, allocations: 4.125 kB / 0.9592 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.7105, allocations: 5.594 kB / 0.9592 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.7107, allocations: 32.45 kB / 0.9593 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.7107, allocations: 9 kB / 0.9593 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/0.7115, allocations: 79 kB / 0.9593 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.7115, allocations: 11.56 kB / 0.9593 GB, free: 2.523 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.0002031/0.7117, allocations: 198.3 kB / 0.9595 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.7118, allocations: 28.5 kB / 0.9596 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.7118, allocations: 37.36 kB / 0.9596 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.7119, allocations: 3.844 kB / 0.9596 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7119, allocations: 0 / 0.9596 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7119, allocations: 1.125 kB / 0.9596 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.7121, allocations: 284.4 kB / 0.9599 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7121, allocations: 0 / 0.9599 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.7121, allocations: 3.844 kB / 0.9599 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7121, allocations: 1.422 kB / 0.9599 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.7121, allocations: 15.67 kB / 0.9599 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7122, allocations: 6.469 kB / 0.9599 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7122, allocations: 0 / 0.9599 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.7127, allocations: 438.8 kB / 0.9603 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.7128, allocations: 101.6 kB / 0.9604 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.7128, allocations: 6.688 kB / 0.9604 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.7129, allocations: 6 kB / 0.9604 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.713, allocations: 15.02 kB / 0.9604 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.713, allocations: 19.14 kB / 0.9605 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003002/0.7133, allocations: 288.3 kB / 0.9607 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.51e-07/0.7133, allocations: 0 / 0.9607 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004261/0.7137, allocations: 83.03 kB / 0.9608 GB, free: 1.5 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.0007681/0.7145, allocations: 1.006 MB / 0.9618 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.715, allocations: 268.3 kB / 0.9621 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.715, allocations: 8.125 kB / 0.9621 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.7152, allocations: 143.8 kB / 0.9622 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.7154, allocations: 28.25 kB / 0.9622 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.7192, allocations: 3.268 MB / 0.9654 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.7196, allocations: 0.7633 MB / 0.9662 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.7197, allocations: 54.91 kB / 0.9662 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.7199, allocations: 82.56 kB / 0.9663 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7199, allocations: 0.9688 kB / 0.9663 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.7466, allocations: 7.514 MB / 0.9736 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.756, allocations: 7.938 kB / 0.9736 GB, free: 8.852 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