Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001621/0.001621, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001766/0.001766, allocations: 161 kB / 23.82 MB, free: 0.7461 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.018/1.018, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.914/1.914, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.337e-05, allocations: 7.344 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001339/0.001362, allocations: 0.6884 MB / 0.7878 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.002875, allocations: 1.378 MB / 0.7891 GB, free: 9.305 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.002926, allocations: 0 / 0.7891 GB, free: 9.305 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.003363, allocations: 198.5 kB / 0.7893 GB, free: 9.113 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.00344, allocations: 102.1 kB / 0.7894 GB, free: 9.016 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.003911, allocations: 241 kB / 0.7896 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.004291, allocations: 499.7 kB / 0.7901 GB, free: 8.293 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.004333, allocations: 11.97 kB / 0.7901 GB, free: 8.281 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.004531, allocations: 247.7 kB / 0.7904 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.004795, allocations: 221.5 kB / 0.7906 GB, free: 7.824 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.004848, allocations: 20 kB / 0.7906 GB, free: 7.805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.005017, allocations: 101.6 kB / 0.7907 GB, free: 7.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.005271, allocations: 271.4 kB / 0.7909 GB, free: 7.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.00538, allocations: 115.8 kB / 0.7911 GB, free: 7.328 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.005755, allocations: 426.8 kB / 0.7915 GB, free: 6.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005757, allocations: 1.188 kB / 0.7915 GB, free: 6.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005758, allocations: 0 / 0.7915 GB, free: 6.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.005763, allocations: 4 kB / 0.7915 GB, free: 6.906 MB / 0.698 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.0006982/0.006461, allocations: 0.6634 MB / 0.7921 GB, free: 6.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.006497, allocations: 8.906 kB / 0.7921 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.626e-05/0.006593, allocations: 32.8 kB / 0.7922 GB, free: 6.164 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.006924, allocations: 303.1 kB / 0.7924 GB, free: 5.848 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.006942, allocations: 16.36 kB / 0.7925 GB, free: 5.832 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.006985, allocations: 16.38 kB / 0.7925 GB, free: 5.816 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.007172, allocations: 129.2 kB / 0.7926 GB, free: 5.672 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.00718, allocations: 192 / 0.7926 GB, free: 5.672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.007196, allocations: 8.375 kB / 0.7926 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.007203, allocations: 384 / 0.7926 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.007275, allocations: 48.38 kB / 0.7927 GB, free: 5.617 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.007525, allocations: 279.9 kB / 0.7929 GB, free: 5.301 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.007762, allocations: 202.4 kB / 0.7931 GB, free: 5.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.007843, allocations: 64.75 kB / 0.7932 GB, free: 4.992 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.007848, allocations: 4 kB / 0.7932 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.008095, allocations: 256.3 kB / 0.7934 GB, free: 4.711 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 9.81e-07/0.008096, allocations: 0.7812 kB / 0.7934 GB, free: 4.711 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0004968/0.008593, allocations: 373.2 kB / 0.7938 GB, free: 4.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.008645, allocations: 116 kB / 0.7939 GB, free: 4.203 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.008913, allocations: 378.2 kB / 0.7943 GB, free: 3.812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.008953, allocations: 41.7 kB / 0.7943 GB, free: 3.766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.009084, allocations: 212.8 kB / 0.7945 GB, free: 3.555 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.009116, allocations: 39.75 kB / 0.7945 GB, free: 3.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.00922, allocations: 115.3 kB / 0.7946 GB, free: 3.395 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.00935, allocations: 0.5235 MB / 0.7952 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.009418, allocations: 52.81 kB / 0.7952 GB, free: 2.809 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.009892, allocations: 1.072 MB / 0.7963 GB, free: 1.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.01008, allocations: 250.9 kB / 0.7965 GB, free: 1.102 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01008, allocations: 1.312 kB / 0.7965 GB, free: 1.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003743/0.01046, allocations: 293.5 kB / 0.7968 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01047, allocations: 4 kB / 0.7968 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01048, allocations: 4 kB / 0.7968 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.01049, allocations: 8.031 kB / 0.7968 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.01062, allocations: 39.92 kB / 0.7968 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.01063, allocations: 11.92 kB / 0.7968 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.01091, allocations: 65.62 kB / 0.7969 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01092, allocations: 12.5 kB / 0.7969 GB, free: 0.6719 MB / 0.698 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.0001152/0.01104, allocations: 196.9 kB / 0.7971 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.01107, allocations: 31.81 kB / 0.7971 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.01112, allocations: 37.89 kB / 0.7972 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01112, allocations: 1.094 kB / 0.7972 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01112, allocations: 0 / 0.7972 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01113, allocations: 7.938 kB / 0.7972 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.01128, allocations: 221.2 kB / 0.7974 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01128, allocations: 4 kB / 0.7974 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-06/0.01129, allocations: 0.7188 kB / 0.7974 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01129, allocations: 4 kB / 0.7974 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.0113, allocations: 15.05 kB / 0.7974 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.0113, allocations: 4 kB / 0.7974 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01131, allocations: 4 kB / 0.7974 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.01163, allocations: 361.8 kB / 0.7978 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.01165, allocations: 27.81 kB / 0.7978 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.01168, allocations: 7.938 kB / 0.7978 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.01173, allocations: 7.984 kB / 0.7978 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.01177, allocations: 19.92 kB / 0.7978 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.01179, allocations: 17.95 kB / 0.7978 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001571/0.01195, allocations: 247 kB / 0.7981 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01195, allocations: 0 / 0.7981 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002412/0.01219, allocations: 79.88 kB / 0.7982 GB, free: 15.33 MB / 0.7136 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.0001681/0.01236, allocations: 144 kB / 0.7983 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.01261, allocations: 189.6 kB / 0.7985 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01261, allocations: 5.281 kB / 0.7985 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.0127, allocations: 91.58 kB / 0.7986 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.01289, allocations: 37.42 kB / 0.7986 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.01341, allocations: 482.8 kB / 0.7991 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.192e-05/0.01346, allocations: 92.16 kB / 0.7991 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.579e-05/0.01353, allocations: 32.67 kB / 0.7992 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.01358, allocations: 32.48 kB / 0.7992 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.01358, allocations: 4 kB / 0.7992 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.006896/0.02048, allocations: 5.475 MB / 0.8046 GB, free: 8.812 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.433908606879413]