Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.001093/0.001093, allocations: 80.92 kB / 20.75 MB, free: 3.734 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.001122/0.001122, allocations: 165 kB / 24.17 MB, free: 324 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 0.9644/0.9644, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.933/1.933, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.734e-05, allocations: 2.312 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001606/0.001633, allocations: 0.6882 MB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.003221, allocations: 1.384 MB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.003289, allocations: 0.9688 kB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.003774, allocations: 203.4 kB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.909e-05/0.003873, allocations: 115.5 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.004506, allocations: 237.6 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004982/0.005004, allocations: 491.5 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.005057, allocations: 7.984 kB / 0.7631 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.005356, allocations: 247.7 kB / 0.7633 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.005646, allocations: 164.9 kB / 0.7634 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.005714, allocations: 20 kB / 0.7635 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.005936, allocations: 96.58 kB / 0.7636 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.006132, allocations: 183.6 kB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.006252, allocations: 116.5 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.00672, allocations: 430.7 kB / 0.7643 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.006724, allocations: 1.219 kB / 0.7643 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006725, allocations: 0 / 0.7643 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.006731, allocations: 0 / 0.7643 GB, free: 2.312 MB / 0.7136 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.0006862/0.007417, allocations: 0.5116 MB / 0.7648 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.00745, allocations: 8.781 kB / 0.7648 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.007532, allocations: 32.89 kB / 0.7648 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.007844, allocations: 250.8 kB / 0.765 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.007862, allocations: 16.38 kB / 0.765 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.007906, allocations: 16.38 kB / 0.7651 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.008079, allocations: 108 kB / 0.7652 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.008088, allocations: 5.203 kB / 0.7652 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.008101, allocations: 4.375 kB / 0.7652 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.008107, allocations: 4.375 kB / 0.7652 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.00816, allocations: 41.28 kB / 0.7652 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.008351, allocations: 131.2 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.008527, allocations: 135.1 kB / 0.7655 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.008579, allocations: 42.61 kB / 0.7655 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.008584, allocations: 6.75 kB / 0.7655 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.00881, allocations: 222.4 kB / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.008811, allocations: 0 / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003148/0.009126, allocations: 194 kB / 0.7659 GB, free: 460 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.009187, allocations: 125.2 kB / 0.766 GB, free: 312 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.009375, allocations: 270.9 kB / 0.7663 GB, free: 28 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/0.009449, allocations: 37.7 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.009516, allocations: 121.4 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.009551, allocations: 35.73 kB / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.009654, allocations: 97.58 kB / 0.7666 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.009755, allocations: 351.3 kB / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.009806, allocations: 38.81 kB / 0.7669 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.01024, allocations: 0.9322 MB / 0.7679 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.0104, allocations: 196.7 kB / 0.768 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.01041, allocations: 6.438 kB / 0.7681 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002208/0.01063, allocations: 207.4 kB / 0.7682 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.01064, allocations: 8 kB / 0.7683 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01065, allocations: 7.984 kB / 0.7683 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.01067, allocations: 4 kB / 0.7683 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.0108, allocations: 41.3 kB / 0.7683 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.0108, allocations: 7.938 kB / 0.7683 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.01108, allocations: 68.5 kB / 0.7684 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.0111, allocations: 18.73 kB / 0.7684 GB, free: 13.52 MB / 0.7292 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.0001398/0.01124, allocations: 146.6 kB / 0.7685 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.01128, allocations: 24.2 kB / 0.7686 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.01133, allocations: 33.88 kB / 0.7686 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01133, allocations: 6.438 kB / 0.7686 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01134, allocations: 0 / 0.7686 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01134, allocations: 0 / 0.7686 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.01148, allocations: 137.7 kB / 0.7687 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01148, allocations: 0 / 0.7687 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-06/0.01149, allocations: 4 kB / 0.7687 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01149, allocations: 0 / 0.7687 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.0115, allocations: 4.953 kB / 0.7687 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.01151, allocations: 7.938 kB / 0.7687 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01151, allocations: 0 / 0.7687 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.0117, allocations: 194.4 kB / 0.7689 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.01173, allocations: 23.86 kB / 0.769 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.01175, allocations: 4 kB / 0.769 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.0118, allocations: 4 kB / 0.769 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.01184, allocations: 15.97 kB / 0.769 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.01186, allocations: 12 kB / 0.769 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.808e-05/0.01196, allocations: 111.3 kB / 0.7691 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01196, allocations: 0 / 0.7691 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002582/0.01221, allocations: 79.92 kB / 0.7692 GB, free: 12.68 MB / 0.7292 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.0001763/0.01239, allocations: 120.9 kB / 0.7693 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.0126, allocations: 151.3 kB / 0.7694 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.0126, allocations: 0 / 0.7694 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.01267, allocations: 68.75 kB / 0.7695 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.01284, allocations: 34.94 kB / 0.7695 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.01339, allocations: 469.4 kB / 0.77 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.241e-05/0.01344, allocations: 88.31 kB / 0.7701 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.126e-05/0.01352, allocations: 39.31 kB / 0.7701 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.01368, allocations: 111.9 kB / 0.7702 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of SimCode: time 9.41e-07/0.01368, allocations: 0.625 kB / 0.7702 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.008894/0.02258, allocations: 5.851 MB / 0.7759 GB, free: 5.938 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.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.16992388991639]