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.001238/0.001238, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001451/0.001451, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.141/1.141, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.053/2.053, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 1.094 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.815e-05, allocations: 8.922 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001424/0.001442, allocations: 0.6953 MB / 0.8801 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.005524, allocations: 1.371 MB / 0.8814 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.005602, allocations: 1.594 kB / 0.8814 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.006124, allocations: 200.9 kB / 0.8816 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.006262, allocations: 110.7 kB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.006853, allocations: 237.5 kB / 0.8819 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.007225, allocations: 491.7 kB / 0.8824 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.007267, allocations: 9.328 kB / 0.8824 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.007465, allocations: 251.7 kB / 0.8827 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.007672, allocations: 187.7 kB / 0.8828 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.007716, allocations: 20 kB / 0.8829 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.007867, allocations: 99.83 kB / 0.883 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.008061, allocations: 207.6 kB / 0.8832 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.008163, allocations: 115.8 kB / 0.8833 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.008519, allocations: 426.8 kB / 0.8837 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.008522, allocations: 4 kB / 0.8837 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.008523, allocations: 0 / 0.8837 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.008528, allocations: 3.938 kB / 0.8837 GB, free: 1.625 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.0006524/0.00918, allocations: 0.6668 MB / 0.8843 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.009212, allocations: 8.031 kB / 0.8843 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.009299, allocations: 36.75 kB / 0.8844 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.009565, allocations: 276.5 kB / 0.8846 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.009579, allocations: 12.38 kB / 0.8847 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.009623, allocations: 24.36 kB / 0.8847 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.00977, allocations: 109.2 kB / 0.8848 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.009778, allocations: 192 / 0.8848 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.009789, allocations: 8.359 kB / 0.8848 GB, free: 416 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.009794, allocations: 384 / 0.8848 GB, free: 416 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.644e-05/0.009841, allocations: 31.86 kB / 0.8848 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.01005, allocations: 240.5 kB / 0.885 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.01023, allocations: 153.2 kB / 0.8852 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.01029, allocations: 55.09 kB / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-06/0.01029, allocations: 0 / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.01051, allocations: 231.8 kB / 0.8855 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.012e-06/0.01051, allocations: 0 / 0.8855 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003879/0.0109, allocations: 321.2 kB / 0.8858 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.01094, allocations: 110.8 kB / 0.8859 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.01118, allocations: 370.1 kB / 0.8862 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.01122, allocations: 41.7 kB / 0.8863 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01134, allocations: 207.5 kB / 0.8865 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.01138, allocations: 51.66 kB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.01149, allocations: 119.2 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01162, allocations: 0.5312 MB / 0.8872 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.01166, allocations: 31.98 kB / 0.8872 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.0121, allocations: 1.054 MB / 0.8882 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.01225, allocations: 234.7 kB / 0.8884 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01226, allocations: 4 kB / 0.8884 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000249/0.01251, allocations: 237.1 kB / 0.8887 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01252, allocations: 4 kB / 0.8887 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01252, allocations: 4.406 kB / 0.8887 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.01253, allocations: 12 kB / 0.8887 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01265, allocations: 39.91 kB / 0.8887 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.01265, allocations: 8 kB / 0.8887 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.01292, allocations: 60.75 kB / 0.8888 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.01293, allocations: 12 kB / 0.8888 GB, free: 11.71 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.0001104/0.01304, allocations: 190.5 kB / 0.889 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.01308, allocations: 31.81 kB / 0.889 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.01311, allocations: 33.95 kB / 0.889 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01312, allocations: 4 kB / 0.889 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01312, allocations: 0 / 0.889 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.01312, allocations: 0 / 0.889 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.01325, allocations: 177.1 kB / 0.8892 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.01326, allocations: 0 / 0.8892 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-06/0.01326, allocations: 11.92 kB / 0.8892 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01327, allocations: 7.938 kB / 0.8892 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01328, allocations: 8 kB / 0.8892 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.01328, allocations: 0 / 0.8892 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01328, allocations: 0 / 0.8892 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.01355, allocations: 335.3 kB / 0.8896 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.01357, allocations: 19.8 kB / 0.8896 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.01359, allocations: 11.98 kB / 0.8896 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.69e-05/0.01364, allocations: 4 kB / 0.8896 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.01368, allocations: 19.97 kB / 0.8896 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.01369, allocations: 12 kB / 0.8896 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001194/0.01381, allocations: 234.9 kB / 0.8899 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01381, allocations: 0 / 0.8899 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002367/0.01405, allocations: 79.92 kB / 0.8899 GB, free: 10.48 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.0001485/0.0142, allocations: 143.9 kB / 0.8901 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.01439, allocations: 162.1 kB / 0.8902 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0144, allocations: 0 / 0.8902 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.01447, allocations: 75.5 kB / 0.8903 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.01465, allocations: 42.72 kB / 0.8903 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.01511, allocations: 470.7 kB / 0.8908 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.262e-05/0.01517, allocations: 92.31 kB / 0.8909 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.384e-05/0.01524, allocations: 38.11 kB / 0.8909 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.0154, allocations: 146.1 kB / 0.891 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.0154, allocations: 0 / 0.891 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of Templates: time 0.007191/0.02259, allocations: 5.914 MB / 0.8968 GB, free: 3.445 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.665560891851783]