Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 111.5 kB / 18.88 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 191.8 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.929/2.929, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 75.88 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8206, allocations: 168.7 MB / 1.274 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00186/0.8224, allocations: 0.6899 MB / 1.275 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.8243, allocations: 1.355 MB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.8244, allocations: 0 / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.8249, allocations: 191.6 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.825, allocations: 111.7 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.8258, allocations: 223 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.8264, allocations: 0.4957 MB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.8264, allocations: 0 / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.8267, allocations: 203.8 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.827, allocations: 227.5 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.518e-05/0.8271, allocations: 24 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.8273, allocations: 87.92 kB / 1.278 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.8277, allocations: 279.4 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.8279, allocations: 147.3 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.8285, allocations: 481.1 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8285, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8285, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.8285, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 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.001105/0.8296, allocations: 0.6539 MB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.8296, allocations: 8.031 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.8297, allocations: 32.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/0.8304, allocations: 384.3 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.8304, allocations: 16.36 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.8305, allocations: 20.38 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.8309, allocations: 188.6 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8309, allocations: 192 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.8309, allocations: 3.938 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.8309, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.8311, allocations: 119.9 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.8316, allocations: 383.1 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.8321, allocations: 315.6 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.8323, allocations: 122.6 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.8323, allocations: 7.922 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000549/0.8328, allocations: 283.4 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.8328, allocations: 0 / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008872/0.8337, allocations: 0.5011 MB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.8338, allocations: 106.8 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.8343, allocations: 400.5 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.8343, allocations: 37.7 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.8345, allocations: 160.8 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.8346, allocations: 47.67 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.8347, allocations: 109.6 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.8349, allocations: 346.8 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.835, allocations: 95.89 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.8356, allocations: 463 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.836, allocations: 253.5 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.836, allocations: 4 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005408/0.8365, allocations: 329.3 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.8365, allocations: 11.94 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.8365, allocations: 4 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.8366, allocations: 4 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.8367, allocations: 31.86 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.8367, allocations: 4 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.8375, allocations: 79.66 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.8375, allocations: 12 kB / 1.284 GB, free: 10.11 MB / 0.9825 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.0002279/0.8378, allocations: 196.2 kB / 1.284 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.8378, allocations: 35.75 kB / 1.284 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.8379, allocations: 29.89 kB / 1.284 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.8379, allocations: 4 kB / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8379, allocations: 0 / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8379, allocations: 8 kB / 1.284 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.8382, allocations: 293.3 kB / 1.284 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8382, allocations: 0 / 1.284 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.8383, allocations: 7.938 kB / 1.284 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.8383, allocations: 7.938 kB / 1.284 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.8383, allocations: 11.98 kB / 1.284 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8383, allocations: 0 / 1.284 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.8383, allocations: 0 / 1.284 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.8389, allocations: 436.6 kB / 1.285 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.839, allocations: 104.9 kB / 1.285 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.8391, allocations: 7.938 kB / 1.285 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.634e-05/0.8391, allocations: 8 kB / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.8392, allocations: 19.92 kB / 1.285 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.8392, allocations: 11.98 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003821/0.8396, allocations: 295 kB / 1.285 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8396, allocations: 0 / 1.285 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000393/0.84, allocations: 79.94 kB / 1.285 GB, free: 8.488 MB / 0.9825 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.0002341/0.8402, allocations: 135.6 kB / 1.285 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005248/0.8408, allocations: 251.7 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8408, allocations: 0.8125 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.841, allocations: 119.9 kB / 1.286 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.8413, allocations: 24.66 kB / 1.286 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.8423, allocations: 0.5761 MB / 1.286 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.8427, allocations: 0.7597 MB / 1.287 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.8428, allocations: 49.94 kB / 1.287 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.8429, allocations: 31.42 kB / 1.287 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.8429, allocations: 0 / 1.287 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.01051/0.8534, allocations: 5.079 MB / 1.292 GB, free: 1.449 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.802133248187602]