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.001731/0.001731, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.002267/0.002267, allocations: 177 kB / 23.49 MB, free: 1.055 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.074/1.074, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.335/2.335, allocations: 429.5 MB / 0.6736 GB, free: 4.008 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 3.977e-06/3.977e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.779e-05/4.177e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002376/0.002418, allocations: 0.7007 MB / 0.8789 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.00469, allocations: 1.378 MB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.004803, allocations: 0 / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.005401, allocations: 198.1 kB / 0.8804 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.005533, allocations: 103.7 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009541/0.006487, allocations: 241 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.00722, allocations: 484.7 kB / 0.8812 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.00729, allocations: 7.938 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.007735, allocations: 252.8 kB / 0.8815 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.008198, allocations: 228.7 kB / 0.8817 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.008305, allocations: 20 kB / 0.8817 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.008633, allocations: 92.88 kB / 0.8818 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.009078, allocations: 275.4 kB / 0.882 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.009296, allocations: 107.8 kB / 0.8821 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008047/0.0101, allocations: 433.2 kB / 0.8826 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.01011, allocations: 0 / 0.8826 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.843e-06/0.01011, allocations: 0 / 0.8826 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.01012, allocations: 0 / 0.8826 GB, free: 2.16 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.001283/0.0114, allocations: 0.6746 MB / 0.8832 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.01146, allocations: 14.09 kB / 0.8832 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.01167, allocations: 36.75 kB / 0.8833 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.0122, allocations: 284.6 kB / 0.8835 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.01224, allocations: 16.38 kB / 0.8836 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.01231, allocations: 20.38 kB / 0.8836 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.01261, allocations: 133.1 kB / 0.8837 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01262, allocations: 0.9062 kB / 0.8837 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.01264, allocations: 6.016 kB / 0.8837 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01265, allocations: 384 / 0.8837 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.01276, allocations: 55.84 kB / 0.8838 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.01322, allocations: 279.9 kB / 0.884 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.0136, allocations: 197.7 kB / 0.8842 GB, free: 312 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01371, allocations: 68.22 kB / 0.8843 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.01372, allocations: 0 / 0.8843 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004409/0.01416, allocations: 257.5 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.063e-06/0.01416, allocations: 0 / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0008357/0.015, allocations: 381.7 kB / 0.8849 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.01509, allocations: 118.7 kB / 0.885 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.01555, allocations: 382.2 kB / 0.8854 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/0.01564, allocations: 41.7 kB / 0.8854 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.01581, allocations: 207.5 kB / 0.8856 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.01587, allocations: 43.73 kB / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.01606, allocations: 111.3 kB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.01627, allocations: 0.5274 MB / 0.8863 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.01638, allocations: 55.97 kB / 0.8863 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/0.01717, allocations: 1.065 MB / 0.8874 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.01751, allocations: 262.7 kB / 0.8876 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.01751, allocations: 0 / 0.8876 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005639/0.01807, allocations: 269 kB / 0.8879 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.01811, allocations: 11.98 kB / 0.8879 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.01812, allocations: 4.406 kB / 0.8879 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.01816, allocations: 8 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.01839, allocations: 43.92 kB / 0.8879 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.01841, allocations: 11.88 kB / 0.8879 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.01892, allocations: 63.89 kB / 0.888 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.01894, allocations: 12 kB / 0.888 GB, free: 11.89 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.0002725/0.01922, allocations: 186.5 kB / 0.8882 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.0193, allocations: 35.8 kB / 0.8882 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.01937, allocations: 25.95 kB / 0.8883 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.01937, allocations: 8 kB / 0.8883 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.01938, allocations: 0 / 0.8883 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.01939, allocations: 3.938 kB / 0.8883 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.0197, allocations: 224.5 kB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.0197, allocations: 0 / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.01972, allocations: 7.938 kB / 0.8885 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.01972, allocations: 240 / 0.8885 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.01975, allocations: 11.98 kB / 0.8885 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.01975, allocations: 4 kB / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01975, allocations: 0 / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.02031, allocations: 370.2 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.02036, allocations: 31.78 kB / 0.8889 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.0204, allocations: 7.938 kB / 0.8889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.02049, allocations: 4 kB / 0.8889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.02056, allocations: 27.84 kB / 0.8889 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.02059, allocations: 8 kB / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002576/0.02085, allocations: 255 kB / 0.8892 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02085, allocations: 0 / 0.8892 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000529/0.02138, allocations: 75.94 kB / 0.8892 GB, free: 10.56 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.000305/0.02168, allocations: 144 kB / 0.8894 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.02218, allocations: 183.9 kB / 0.8896 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.02218, allocations: 4 kB / 0.8896 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.02233, allocations: 87.58 kB / 0.8896 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.0227, allocations: 41.39 kB / 0.8897 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.02368, allocations: 0.4908 MB / 0.8902 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.364e-05/0.02377, allocations: 84.31 kB / 0.8902 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000183/0.02395, allocations: 33.94 kB / 0.8903 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.02403, allocations: 32.48 kB / 0.8903 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of SimCode: time 1.823e-06/0.02403, allocations: 0 / 0.8903 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of Templates: time 0.008186/0.03221, allocations: 5.451 MB / 0.8956 GB, free: 4.043 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: 6.028605749132112]