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.0009422/0.0009422, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.0009/0.0009, allocations: 181.3 kB / 24.09 MB, free: 420 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.9468/0.9468, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.804/1.804, allocations: 359 MB / 0.6055 GB, free: 10.88 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 4.158e-06/4.158e-06, allocations: 4 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.229e-05, allocations: 4.719 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001957/0.001989, allocations: 0.6792 MB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.003893, allocations: 1.371 MB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.003969, allocations: 0.6875 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.004501, allocations: 202.8 kB / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.004631, allocations: 112.6 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.00533, allocations: 241.4 kB / 0.7901 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.005874, allocations: 496.8 kB / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.005914, allocations: 4 kB / 0.7906 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.006266, allocations: 251.7 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.006601, allocations: 189.3 kB / 0.791 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.523e-05/0.006686, allocations: 20 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.006932, allocations: 97.59 kB / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.007196, allocations: 207.6 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.007338, allocations: 115.8 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.007879, allocations: 434.7 kB / 0.7918 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007882, allocations: 0 / 0.7918 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.403e-06/0.007884, allocations: 2.5 kB / 0.7918 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.00789, allocations: 4 kB / 0.7918 GB, free: 7.801 MB / 0.7448 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.0009275/0.008817, allocations: 0.659 MB / 0.7925 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.008862, allocations: 8.031 kB / 0.7925 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.008997, allocations: 32.8 kB / 0.7925 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.009362, allocations: 269.1 kB / 0.7928 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.009382, allocations: 20.36 kB / 0.7928 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.009443, allocations: 22.03 kB / 0.7928 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.009643, allocations: 113.2 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.009651, allocations: 192 / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.009668, allocations: 8.359 kB / 0.7929 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.009674, allocations: 1.75 kB / 0.7929 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.009744, allocations: 31.86 kB / 0.793 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.01005, allocations: 236.5 kB / 0.7932 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.01028, allocations: 154.9 kB / 0.7933 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.01035, allocations: 55.09 kB / 0.7934 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.01036, allocations: 0 / 0.7934 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.01065, allocations: 246.9 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.01065, allocations: 0 / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005453/0.01119, allocations: 323.6 kB / 0.7939 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.01125, allocations: 110.8 kB / 0.7941 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.01156, allocations: 366.2 kB / 0.7944 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.01161, allocations: 41.7 kB / 0.7944 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.01175, allocations: 207.5 kB / 0.7946 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.0118, allocations: 45.89 kB / 0.7947 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.01194, allocations: 119.2 kB / 0.7948 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.0121, allocations: 0.5273 MB / 0.7953 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.01216, allocations: 31.97 kB / 0.7953 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.01274, allocations: 1.052 MB / 0.7964 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.01298, allocations: 235.9 kB / 0.7966 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.01298, allocations: 4 kB / 0.7966 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000381/0.01336, allocations: 239.2 kB / 0.7968 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.01338, allocations: 4.844 kB / 0.7968 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.01339, allocations: 4 kB / 0.7968 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01341, allocations: 9.281 kB / 0.7968 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.01357, allocations: 35.92 kB / 0.7969 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.01358, allocations: 11.98 kB / 0.7969 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.01399, allocations: 64.33 kB / 0.7969 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.01401, allocations: 12.75 kB / 0.797 GB, free: 1.91 MB / 0.7448 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.0001622/0.01417, allocations: 192.2 kB / 0.7971 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.01423, allocations: 31.81 kB / 0.7972 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.01428, allocations: 33.89 kB / 0.7972 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.01429, allocations: 4.875 kB / 0.7972 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.0143, allocations: 3.938 kB / 0.7972 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.0143, allocations: 3.469 kB / 0.7972 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.01451, allocations: 181 kB / 0.7974 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.01451, allocations: 0 / 0.7974 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/0.01452, allocations: 4 kB / 0.7974 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01453, allocations: 4 kB / 0.7974 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.01454, allocations: 11.98 kB / 0.7974 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01454, allocations: 0 / 0.7974 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.01455, allocations: 4.062 kB / 0.7974 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.01495, allocations: 329.3 kB / 0.7977 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.01499, allocations: 20.3 kB / 0.7977 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.01502, allocations: 11.98 kB / 0.7978 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.01509, allocations: 1.344 kB / 0.7978 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.01514, allocations: 15.98 kB / 0.7978 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.01516, allocations: 15.98 kB / 0.7978 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001797/0.01534, allocations: 235.6 kB / 0.798 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01534, allocations: 0 / 0.798 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004165/0.01576, allocations: 76.59 kB / 0.7981 GB, free: 0.6992 MB / 0.7448 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.0002206/0.01598, allocations: 149.8 kB / 0.7982 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.01624, allocations: 158.2 kB / 0.7984 GB, free: 396 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01624, allocations: 0 / 0.7984 GB, free: 396 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.01634, allocations: 71.67 kB / 0.7985 GB, free: 320 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.01663, allocations: 40.66 kB / 0.7985 GB, free: 280 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.01734, allocations: 467.6 kB / 0.7989 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.01742, allocations: 92.3 kB / 0.799 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.01753, allocations: 35.06 kB / 0.7991 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.01777, allocations: 147.2 kB / 0.7992 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.01777, allocations: 0 / 0.7992 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.01091/0.02868, allocations: 5.827 MB / 0.8049 GB, free: 9.793 MB / 0.7605 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: 4.979520341847092]