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.001879/0.001879, allocations: 88.05 kB / 19.44 MB, free: 332 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.001979/0.001979, allocations: 165.7 kB / 22.76 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.36/3.36, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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 3.116e-06/3.116e-06, allocations: 0 / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.584e-05/4.895e-05, allocations: 4.094 kB / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002786/0.002835, allocations: 0.6695 MB / 0.8781 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003317/0.006152, allocations: 1.372 MB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.006241, allocations: 5.312 kB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008204/0.007061, allocations: 188.8 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.007299, allocations: 101.4 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.008455, allocations: 244.5 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000995/0.00945, allocations: 487.8 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.009501, allocations: 0 / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005293/0.01003, allocations: 251.7 kB / 0.8807 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.01063, allocations: 220.5 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.01078, allocations: 25.19 kB / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.01123, allocations: 103.8 kB / 0.881 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0006728/0.0119, allocations: 271.5 kB / 0.8813 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.0122, allocations: 111.8 kB / 0.8814 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.01335, allocations: 0.5331 MB / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01335, allocations: 0 / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.044e-06/0.01336, allocations: 0 / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.01336, allocations: 0 / 0.8819 GB, free: 2.102 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.001833/0.0152, allocations: 0.6743 MB / 0.8826 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.01526, allocations: 12.03 kB / 0.8826 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.0155, allocations: 36.75 kB / 0.8826 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009526/0.01646, allocations: 293.5 kB / 0.8829 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.01649, allocations: 16.38 kB / 0.8829 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.01661, allocations: 24.36 kB / 0.8829 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.01707, allocations: 145.8 kB / 0.8831 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01708, allocations: 1.594 kB / 0.8831 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.01711, allocations: 8.344 kB / 0.8831 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.01711, allocations: 4.375 kB / 0.8831 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.01734, allocations: 59.91 kB / 0.8831 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000702/0.01804, allocations: 305.2 kB / 0.8834 GB, free: 428 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.01873, allocations: 237.2 kB / 0.8836 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.01897, allocations: 83.09 kB / 0.8837 GB, free: 56 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.01899, allocations: 4 kB / 0.8837 GB, free: 52 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006831/0.01967, allocations: 275.7 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.01967, allocations: 0 / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001325/0.021, allocations: 401.3 kB / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.02114, allocations: 118.7 kB / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/0.02196, allocations: 426.1 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/0.02206, allocations: 33.7 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.02239, allocations: 227.5 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.02248, allocations: 47.69 kB / 0.8852 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/0.02282, allocations: 123.3 kB / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004824/0.02331, allocations: 0.5352 MB / 0.8858 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.02349, allocations: 59.97 kB / 0.8859 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.02521, allocations: 1.085 MB / 0.8869 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.0258, allocations: 262.8 kB / 0.8872 GB, free: 12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.02581, allocations: 4 kB / 0.8872 GB, free: 12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009004/0.02671, allocations: 289 kB / 0.8875 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.02674, allocations: 14.64 kB / 0.8875 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.02675, allocations: 0 / 0.8875 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.02678, allocations: 8 kB / 0.8875 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.0271, allocations: 39.92 kB / 0.8875 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.02713, allocations: 15.88 kB / 0.8876 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009129/0.02804, allocations: 61.25 kB / 0.8876 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.02808, allocations: 16 kB / 0.8876 GB, free: 11.56 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.0003104/0.02839, allocations: 194.5 kB / 0.8878 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.02851, allocations: 35.8 kB / 0.8878 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.02859, allocations: 25.95 kB / 0.8879 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.02861, allocations: 8 kB / 0.8879 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.02862, allocations: 0 / 0.8879 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.02862, allocations: 3.938 kB / 0.8879 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.02913, allocations: 252.5 kB / 0.8881 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02913, allocations: 0 / 0.8881 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.02916, allocations: 8 kB / 0.8881 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.02916, allocations: 0 / 0.8881 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.02919, allocations: 7.984 kB / 0.8881 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.02919, allocations: 7.875 kB / 0.8881 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.0292, allocations: 4 kB / 0.8882 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.03029, allocations: 383.4 kB / 0.8885 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.03038, allocations: 23.84 kB / 0.8885 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.03044, allocations: 4 kB / 0.8885 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.03059, allocations: 4 kB / 0.8885 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.03068, allocations: 31.91 kB / 0.8886 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.03072, allocations: 8 kB / 0.8886 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005002/0.03122, allocations: 270.9 kB / 0.8888 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.03122, allocations: 0 / 0.8888 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006813/0.03191, allocations: 75.88 kB / 0.8889 GB, free: 10.16 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.0003666/0.03227, allocations: 140 kB / 0.889 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006786/0.03295, allocations: 220.3 kB / 0.8893 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.03295, allocations: 0 / 0.8893 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.03327, allocations: 107.6 kB / 0.8894 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.03373, allocations: 36.58 kB / 0.8894 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.03508, allocations: 0.4947 MB / 0.8899 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.03536, allocations: 152.5 kB / 0.89 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.03554, allocations: 38.12 kB / 0.8901 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.03565, allocations: 24.5 kB / 0.8901 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.03565, allocations: 0 / 0.8901 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of Templates: time 0.01767/0.05333, allocations: 5.424 MB / 0.8954 GB, free: 3.555 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] 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.660545732011087]