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.001023/0.001023, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001054/0.001054, allocations: 161 kB / 24.16 MB, free: 336 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.9986/0.9986, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.985/1.985, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.785e-06/2.785e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/3.034e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002409/0.00244, allocations: 0.7443 MB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.004441, allocations: 1.385 MB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.004517, allocations: 0 / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.005037, allocations: 194.5 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.005178, allocations: 121.2 kB / 0.7625 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007312/0.005909, allocations: 235.8 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.006497, allocations: 486 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.006544, allocations: 8.516 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003965/0.006941, allocations: 244.5 kB / 0.7634 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.007289, allocations: 172.8 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.007374, allocations: 20 kB / 0.7636 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.007669, allocations: 109 kB / 0.7637 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.007916, allocations: 175.7 kB / 0.7638 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.008071, allocations: 119.7 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.008676, allocations: 430.7 kB / 0.7644 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.00868, allocations: 1.5 kB / 0.7644 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/0.008682, allocations: 0 / 0.7644 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.00869, allocations: 0 / 0.7644 GB, free: 2.227 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.0009532/0.009643, allocations: 0.5114 MB / 0.7649 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.009682, allocations: 12.72 kB / 0.7649 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.009804, allocations: 24.91 kB / 0.7649 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.01019, allocations: 250.5 kB / 0.7651 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.01021, allocations: 12.38 kB / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.01027, allocations: 22.5 kB / 0.7652 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.01047, allocations: 107.5 kB / 0.7653 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.01048, allocations: 4.188 kB / 0.7653 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.0105, allocations: 4.375 kB / 0.7653 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.01051, allocations: 4.312 kB / 0.7653 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/0.01058, allocations: 51.44 kB / 0.7653 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.01081, allocations: 127.2 kB / 0.7655 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.01104, allocations: 137.8 kB / 0.7656 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.01111, allocations: 42.62 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.01112, allocations: 0 / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.0114, allocations: 222.1 kB / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.0114, allocations: 0 / 0.7658 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004069/0.01181, allocations: 201.9 kB / 0.766 GB, free: 364 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.01188, allocations: 106.8 kB / 0.7661 GB, free: 232 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.01215, allocations: 270.2 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.01221, allocations: 45.69 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.0123, allocations: 117.4 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.01235, allocations: 43.72 kB / 0.7666 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.0125, allocations: 93.58 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.01261, allocations: 346.7 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.01267, allocations: 34.81 kB / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.0132, allocations: 0.943 MB / 0.768 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01342, allocations: 205.2 kB / 0.7682 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01343, allocations: 1.281 kB / 0.7682 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003224/0.01375, allocations: 203.7 kB / 0.7684 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.01377, allocations: 12.94 kB / 0.7684 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.01378, allocations: 0 / 0.7684 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.0138, allocations: 8 kB / 0.7684 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.01397, allocations: 50.47 kB / 0.7684 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01398, allocations: 4 kB / 0.7684 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.01439, allocations: 70.16 kB / 0.7685 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.01442, allocations: 15.94 kB / 0.7685 GB, free: 13.43 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.0001574/0.01457, allocations: 144.1 kB / 0.7686 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.01462, allocations: 23.98 kB / 0.7687 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.01467, allocations: 25.95 kB / 0.7687 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.01468, allocations: 8.953 kB / 0.7687 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.01468, allocations: 0 / 0.7687 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01469, allocations: 0 / 0.7687 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.01486, allocations: 134.5 kB / 0.7688 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01487, allocations: 0 / 0.7688 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.01489, allocations: 12.52 kB / 0.7688 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01489, allocations: 0.5938 kB / 0.7688 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.01491, allocations: 7.984 kB / 0.7688 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01491, allocations: 0.5312 kB / 0.7688 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01491, allocations: 0.6875 kB / 0.7689 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.01517, allocations: 193.9 kB / 0.769 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.0152, allocations: 29.06 kB / 0.7691 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.01523, allocations: 8 kB / 0.7691 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.01531, allocations: 0 / 0.7691 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.01535, allocations: 20.59 kB / 0.7691 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.01538, allocations: 4 kB / 0.7691 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001404/0.01552, allocations: 113.9 kB / 0.7692 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01552, allocations: 0 / 0.7692 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003927/0.01591, allocations: 79.86 kB / 0.7693 GB, free: 12.59 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.000232/0.01614, allocations: 123.3 kB / 0.7694 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.01642, allocations: 160.7 kB / 0.7695 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.01642, allocations: 4 kB / 0.7696 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.01652, allocations: 56.77 kB / 0.7696 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.01674, allocations: 37.88 kB / 0.7696 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.01745, allocations: 454.8 kB / 0.7701 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.543e-05/0.01753, allocations: 92.3 kB / 0.7702 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.01765, allocations: 36.69 kB / 0.7702 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.01788, allocations: 119 kB / 0.7703 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/0.01788, allocations: 0 / 0.7703 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.01095/0.02883, allocations: 5.85 MB / 0.776 GB, free: 5.848 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 -s gbode -gbm=radauIIA3 -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.410777093842626]