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.00123/0.001231, 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.001457/0.001457, allocations: 196.2 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.437/1.437, 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.705/2.705, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 64.09 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8047, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002241/0.807, allocations: 0.6872 MB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.809, allocations: 1.346 MB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-05/0.8092, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.8098, allocations: 187.5 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.81, allocations: 103.7 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/0.8109, allocations: 226.9 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005689/0.8115, allocations: 479.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.8115, allocations: 7.984 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.8118, allocations: 211.6 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.8124, allocations: 203.6 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.8125, allocations: 24 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.8128, allocations: 75.95 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.8133, allocations: 255.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.8136, allocations: 155.3 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008035/0.8144, allocations: 476.7 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8144, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8144, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.8144, allocations: 0 / 1.022 GB, free: 14.12 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.001376/0.8158, allocations: 0.6307 MB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.27e-05/0.8159, allocations: 20.02 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.8162, allocations: 32.56 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.8168, allocations: 376.1 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.8169, allocations: 16.38 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.817, allocations: 20.38 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.8173, allocations: 196.6 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8174, allocations: 4.125 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.8174, allocations: 11.94 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8174, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.8176, allocations: 111.9 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.8181, allocations: 387 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.8186, allocations: 315.6 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.8188, allocations: 126.6 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.8188, allocations: 4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.8194, allocations: 281.6 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.8194, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009536/0.8204, allocations: 497.3 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.8205, allocations: 118.8 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.821, allocations: 396.4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.8211, allocations: 49.69 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.8213, allocations: 156.7 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.8214, allocations: 31.62 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.8216, allocations: 121.5 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.8218, allocations: 342.8 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.8219, allocations: 83.89 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.8225, allocations: 469 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.8229, allocations: 253.5 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.8229, allocations: 4 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005573/0.8234, allocations: 332.8 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.8235, allocations: 5.25 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.8235, allocations: 4 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.8235, allocations: 7.984 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.8237, allocations: 35.92 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.8237, allocations: 4 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/0.8245, allocations: 72.94 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.8245, allocations: 15.94 kB / 1.027 GB, free: 8.23 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.0002095/0.8247, allocations: 192 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.8248, allocations: 31.56 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.8248, allocations: 33.89 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.8249, allocations: 0 / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8249, allocations: 8 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.8249, allocations: 3.984 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.8252, allocations: 285.5 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8252, allocations: 3.984 kB / 1.027 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.8252, allocations: 11.88 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.8253, allocations: 0 / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.8253, allocations: 8 kB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.8253, allocations: 3.984 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8253, allocations: 7.984 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.8259, allocations: 430.2 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.826, allocations: 108.7 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.826, allocations: 4 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.8261, allocations: 7.984 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.8262, allocations: 20.02 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.8262, allocations: 12 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003199/0.8266, allocations: 295 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8266, allocations: 0 / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004192/0.827, allocations: 75.98 kB / 1.028 GB, free: 6.617 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.0002447/0.8272, allocations: 132.9 kB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000475/0.8277, allocations: 272.2 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8278, allocations: 4.125 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.828, allocations: 151.9 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.8283, allocations: 29.95 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.8295, allocations: 0.5612 MB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.8301, allocations: 0.7599 MB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.8303, allocations: 53.94 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.8304, allocations: 27.44 kB / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of SimCode: time 8.82e-07/0.8304, allocations: 0 / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.01404/0.8444, allocations: 4.989 MB / 1.035 GB, free: 15.64 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=480 -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