Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002471/0.002471, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.63e-06/5.63e-06, allocations: 4 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/4.159e-05, allocations: 5.969 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002492/0.002534, allocations: 0.6713 MB / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002536/0.00507, allocations: 1.348 MB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.005165, allocations: 4 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.005731, allocations: 189.8 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.005916, allocations: 106.1 kB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.006763, allocations: 247.7 kB / 0.8801 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006657/0.007429, allocations: 487.8 kB / 0.8806 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.007471, allocations: 4 kB / 0.8806 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.00792, allocations: 251.6 kB / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.008364, allocations: 220.2 kB / 0.881 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.008486, allocations: 21.44 kB / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.008778, allocations: 95.84 kB / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0004528/0.00923, allocations: 279.4 kB / 0.8814 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.00946, allocations: 115.8 kB / 0.8815 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.01029, allocations: 0.5297 MB / 0.882 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01029, allocations: 0 / 0.882 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01029, allocations: 0 / 0.882 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.01031, allocations: 0 / 0.882 GB, free: 1.98 MB / 0.8386 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.001233/0.01154, allocations: 0.5669 MB / 0.8826 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.01158, allocations: 8.031 kB / 0.8826 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.01178, allocations: 44.73 kB / 0.8826 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.01241, allocations: 329.7 kB / 0.883 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.01244, allocations: 12.36 kB / 0.883 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.01252, allocations: 24.38 kB / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.01288, allocations: 184.7 kB / 0.8832 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.01288, allocations: 192 / 0.8832 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.01291, allocations: 4.375 kB / 0.8832 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.01292, allocations: 384 / 0.8832 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.01312, allocations: 115.8 kB / 0.8833 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.01356, allocations: 267 kB / 0.8835 GB, free: 344 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.01411, allocations: 315.6 kB / 0.8838 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.01431, allocations: 122.6 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.01432, allocations: 4 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005426/0.01486, allocations: 288.2 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.768e-06/0.01487, allocations: 3.984 kB / 0.8842 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001039/0.0159, allocations: 0.4972 MB / 0.8847 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.016, allocations: 114.8 kB / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.01678, allocations: 404.4 kB / 0.8852 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/0.01685, allocations: 37.7 kB / 0.8852 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.01703, allocations: 156.8 kB / 0.8854 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.01709, allocations: 43.72 kB / 0.8854 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.01728, allocations: 113.6 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.01751, allocations: 346.8 kB / 0.8859 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.01766, allocations: 87.95 kB / 0.886 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.01875, allocations: 1.092 MB / 0.887 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.01916, allocations: 253.5 kB / 0.8873 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01916, allocations: 4 kB / 0.8873 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006677/0.01983, allocations: 337 kB / 0.8876 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.01986, allocations: 11.98 kB / 0.8876 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.01987, allocations: 4 kB / 0.8876 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.0199, allocations: 4 kB / 0.8876 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.0201, allocations: 32.05 kB / 0.8876 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.02012, allocations: 15.94 kB / 0.8877 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.02091, allocations: 68.88 kB / 0.8877 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.02094, allocations: 12 kB / 0.8877 GB, free: 11.57 MB / 0.8542 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.0002922/0.02124, allocations: 195.7 kB / 0.8879 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.02133, allocations: 39.73 kB / 0.888 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.431e-05/0.02142, allocations: 37.95 kB / 0.888 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.02143, allocations: 4 kB / 0.888 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.02143, allocations: 0 / 0.888 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.02144, allocations: 7.938 kB / 0.888 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.02175, allocations: 197.2 kB / 0.8882 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02175, allocations: 0 / 0.8882 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.02177, allocations: 8 kB / 0.8882 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.02177, allocations: 240 / 0.8882 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.0218, allocations: 7.984 kB / 0.8882 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.0218, allocations: 4 kB / 0.8882 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.0218, allocations: 0 / 0.8882 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.02252, allocations: 442.3 kB / 0.8886 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.02259, allocations: 35.78 kB / 0.8887 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.02263, allocations: 0 / 0.8887 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.02272, allocations: 8 kB / 0.8887 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.02278, allocations: 23.91 kB / 0.8887 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.02281, allocations: 12 kB / 0.8887 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003709/0.02319, allocations: 287 kB / 0.889 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02319, allocations: 0 / 0.889 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004482/0.02363, allocations: 83.86 kB / 0.8891 GB, free: 10.14 MB / 0.8542 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.0002881/0.02392, allocations: 140 kB / 0.8892 GB, free: 10 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.02445, allocations: 251.7 kB / 0.8894 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.02445, allocations: 0 / 0.8894 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.02466, allocations: 119.9 kB / 0.8896 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.02498, allocations: 37.97 kB / 0.8896 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.02612, allocations: 0.5812 MB / 0.8902 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.02633, allocations: 154 kB / 0.8903 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.02648, allocations: 53.94 kB / 0.8904 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.02656, allocations: 32.48 kB / 0.8904 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.02656, allocations: 0 / 0.8904 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.01181/0.03837, allocations: 5.432 MB / 0.8957 GB, free: 3.398 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.636843549087644]