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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, 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.001714/0.001714, allocations: 196.8 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.532/1.532, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.896/2.896, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003016/0.003017, allocations: 67.89 kB / 0.8693 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8036/0.8067, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002993/0.8097, allocations: 0.6854 MB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.8124, allocations: 1.346 MB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.8125, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.8132, allocations: 187.5 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.8134, allocations: 103.7 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.8144, allocations: 219 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007293/0.8151, allocations: 483.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.077e-05/0.8152, allocations: 19.97 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.8156, allocations: 203.6 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.8161, allocations: 203.6 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.8163, allocations: 24 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.8165, allocations: 71.95 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.817, allocations: 263.4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.8173, allocations: 147.3 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.8181, allocations: 480.7 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8181, allocations: 7.938 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8181, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.8181, allocations: 0 / 1.022 GB, free: 14.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001421/0.8195, allocations: 0.6307 MB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8196, allocations: 8.031 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.8198, allocations: 36.56 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.8204, allocations: 380.1 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.8205, allocations: 20.36 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.8205, allocations: 16.38 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.8209, allocations: 188.7 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8209, allocations: 4.125 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.821, allocations: 3.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.821, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.8212, allocations: 107.9 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.8217, allocations: 391 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.8222, allocations: 311.6 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.8224, allocations: 138.5 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.8225, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.823, allocations: 277.6 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.823, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009394/0.8239, allocations: 0.4977 MB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.8241, allocations: 110.8 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.8246, allocations: 404.4 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/0.8247, allocations: 33.7 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.8249, allocations: 156.7 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.8249, allocations: 39.59 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.8252, allocations: 121.6 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.8254, allocations: 346.7 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.8255, allocations: 83.95 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/0.8262, allocations: 467.4 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.8266, allocations: 257.5 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8266, allocations: 0 / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005739/0.8272, allocations: 329.4 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8272, allocations: 13.59 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8272, allocations: 4 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.8272, allocations: 8.031 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.8274, allocations: 31.86 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.8274, allocations: 4.078 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000766/0.8282, allocations: 75.88 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.8282, allocations: 12 kB / 1.027 GB, free: 8.203 MB / 0.7794 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.0002469/0.8285, allocations: 193.7 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.8286, allocations: 39.56 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.8286, allocations: 29.89 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8287, allocations: 4 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8287, allocations: 0 / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.8287, allocations: 4 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.829, allocations: 281.5 kB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.829, allocations: 4 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.829, allocations: 11.88 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.8291, allocations: 4 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.8291, allocations: 11.98 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8291, allocations: 0 / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8291, allocations: 0 / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.8298, allocations: 442.2 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.8299, allocations: 104.8 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.83, allocations: 4 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.8301, allocations: 4 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.8301, allocations: 19.92 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.8302, allocations: 15.98 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003738/0.8305, allocations: 291 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8305, allocations: 0 / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004901/0.831, allocations: 76 kB / 1.028 GB, free: 6.594 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: 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.0002983/0.8314, allocations: 139.2 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.8319, allocations: 273.1 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8319, allocations: 0 / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.8321, allocations: 148.7 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.8324, allocations: 40.45 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.8335, allocations: 0.5495 MB / 1.029 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.8341, allocations: 0.7716 MB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.8342, allocations: 49.92 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.8343, allocations: 31.42 kB / 1.03 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.8343, allocations: 4 kB / 1.03 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of Templates: time 0.01124/0.8456, allocations: 4.982 MB / 1.035 GB, free: 15.61 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/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