Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001496/0.001496, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.00185/0.00185, allocations: 189.4 kB / 22.1 MB, free: 4.223 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.63/1.63, allocations: 225.6 MB / 250.8 MB, free: 2.879 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.047/3.047, allocations: 495.8 MB / 0.7831 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 67.89 kB / 1.137 GB, free: 12.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396/1.399, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001866/1.4, allocations: 0.6931 MB / 1.307 GB, free: 33.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001635/1.402, allocations: 1.351 MB / 1.309 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/1.402, allocations: 3.938 kB / 1.309 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004931/1.403, allocations: 191.9 kB / 1.309 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/1.403, allocations: 101.2 kB / 1.309 GB, free: 32.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/1.403, allocations: 242.1 kB / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004963/1.404, allocations: 0.4896 MB / 1.31 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/1.404, allocations: 14.31 kB / 1.31 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/1.404, allocations: 202.6 kB / 1.31 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/1.404, allocations: 228.3 kB / 1.31 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.893e-05/1.405, allocations: 21.38 kB / 1.31 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/1.405, allocations: 106.4 kB / 1.31 GB, free: 31.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000322/1.405, allocations: 277.4 kB / 1.311 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/1.405, allocations: 147.2 kB / 1.311 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/1.406, allocations: 477.2 kB / 1.311 GB, free: 31.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.406, allocations: 3.938 kB / 1.311 GB, free: 31.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/1.406, allocations: 2.656 kB / 1.311 GB, free: 31.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.406, allocations: 0 / 1.311 GB, free: 31.55 MB / 1.061 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.0009671/1.407, allocations: 0.5746 MB / 1.312 GB, free: 31.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.407, allocations: 10.94 kB / 1.312 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/1.407, allocations: 34.64 kB / 1.312 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/1.407, allocations: 331.1 kB / 1.312 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.407, allocations: 10.78 kB / 1.312 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/1.407, allocations: 18.75 kB / 1.312 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/1.408, allocations: 192.7 kB / 1.312 GB, free: 30.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.408, allocations: 2.938 kB / 1.312 GB, free: 30.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/1.408, allocations: 3.938 kB / 1.312 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/1.408, allocations: 0 / 1.312 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/1.408, allocations: 111.4 kB / 1.312 GB, free: 30.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/1.408, allocations: 357 kB / 1.313 GB, free: 30.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/1.409, allocations: 313.8 kB / 1.313 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/1.409, allocations: 123.4 kB / 1.313 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/1.409, allocations: 0 / 1.313 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/1.409, allocations: 280.8 kB / 1.313 GB, free: 30.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/1.409, allocations: 0 / 1.313 GB, free: 30.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009053/1.41, allocations: 0.4948 MB / 1.314 GB, free: 30.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/1.41, allocations: 124.1 kB / 1.314 GB, free: 29.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/1.411, allocations: 394.2 kB / 1.314 GB, free: 29.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/1.411, allocations: 38.23 kB / 1.314 GB, free: 29.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/1.411, allocations: 152.7 kB / 1.315 GB, free: 29.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/1.411, allocations: 39.77 kB / 1.315 GB, free: 29.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/1.411, allocations: 120.4 kB / 1.315 GB, free: 29.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/1.411, allocations: 342.9 kB / 1.315 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/1.411, allocations: 86.95 kB / 1.315 GB, free: 29.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/1.412, allocations: 472 kB / 1.316 GB, free: 28.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/1.412, allocations: 248.4 kB / 1.316 GB, free: 28.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.412, allocations: 4 kB / 1.316 GB, free: 28.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004925/1.413, allocations: 323.6 kB / 1.316 GB, free: 28.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.413, allocations: 16.62 kB / 1.316 GB, free: 28.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.413, allocations: 6.469 kB / 1.316 GB, free: 28.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/1.413, allocations: 9.938 kB / 1.316 GB, free: 28.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.413, allocations: 37.75 kB / 1.316 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.413, allocations: 5.219 kB / 1.316 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/1.414, allocations: 65.67 kB / 1.316 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/1.414, allocations: 17.88 kB / 1.316 GB, free: 28.45 MB / 1.061 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.0002338/1.414, allocations: 200.4 kB / 1.316 GB, free: 28.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/1.414, allocations: 33.84 kB / 1.317 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/1.414, allocations: 34.05 kB / 1.317 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.414, allocations: 2.875 kB / 1.317 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.414, allocations: 0 / 1.317 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.414, allocations: 2.781 kB / 1.317 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/1.414, allocations: 258.2 kB / 1.317 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.414, allocations: 3.938 kB / 1.317 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/1.414, allocations: 6.906 kB / 1.317 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.414, allocations: 10.09 kB / 1.317 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.414, allocations: 2.875 kB / 1.317 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.414, allocations: 7.406 kB / 1.317 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.414, allocations: 0 / 1.317 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/1.415, allocations: 430.9 kB / 1.317 GB, free: 27.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/1.415, allocations: 31.23 kB / 1.317 GB, free: 27.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/1.415, allocations: 10.56 kB / 1.317 GB, free: 27.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/1.415, allocations: 10.33 kB / 1.317 GB, free: 27.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/1.415, allocations: 21.28 kB / 1.317 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/1.415, allocations: 13.92 kB / 1.317 GB, free: 27.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003309/1.416, allocations: 291.4 kB / 1.318 GB, free: 27.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.416, allocations: 0 / 1.318 GB, free: 27.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004695/1.416, allocations: 79.64 kB / 1.318 GB, free: 27.7 MB / 1.061 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.0003049/1.416, allocations: 130.4 kB / 1.318 GB, free: 27.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005073/1.417, allocations: 258 kB / 1.318 GB, free: 27.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.417, allocations: 0 / 1.318 GB, free: 27.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/1.417, allocations: 122.8 kB / 1.318 GB, free: 27.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.417, allocations: 26.84 kB / 1.318 GB, free: 27.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/1.418, allocations: 0.5714 MB / 1.319 GB, free: 27.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/1.419, allocations: 0.769 MB / 1.32 GB, free: 26.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001232/1.419, allocations: 52.88 kB / 1.32 GB, free: 26.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/1.419, allocations: 25.8 kB / 1.32 GB, free: 26.46 MB / 1.061 GB Notification: Performance of SimCode: time 7.81e-07/1.419, allocations: 0 / 1.32 GB, free: 26.46 MB / 1.061 GB Notification: Performance of Templates: time 0.0131/1.432, allocations: 5.11 MB / 1.325 GB, free: 26.06 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.761844045482576]