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.0008412/0.0008412, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001022/0.001022, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9374/0.9374, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.822/1.822, allocations: 359 MB / 0.6052 GB, free: 10.98 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.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.933e-05, allocations: 3.5 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001268/0.001287, allocations: 0.6852 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.002685, allocations: 1.387 MB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.002747, allocations: 3.938 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.003186, allocations: 189.3 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.003265, allocations: 106.9 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.003889, allocations: 245 kB / 0.7897 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.004323, allocations: 483.8 kB / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.004361, allocations: 0 / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.004583, allocations: 256.3 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.004872, allocations: 225 kB / 0.7906 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.004933, allocations: 21.38 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.005128, allocations: 99.77 kB / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.005385, allocations: 275.4 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.005497, allocations: 111.7 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.005998, allocations: 432.5 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006, allocations: 0 / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006, allocations: 0 / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.006005, allocations: 0 / 0.7915 GB, free: 7.984 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.0007375/0.006742, allocations: 0.6681 MB / 0.7921 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.006779, allocations: 8.031 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.006885, allocations: 33.33 kB / 0.7922 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.007211, allocations: 294.5 kB / 0.7924 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.007234, allocations: 12.38 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.007276, allocations: 24.36 kB / 0.7925 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.007493, allocations: 133.1 kB / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007503, allocations: 192 / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.007519, allocations: 4.359 kB / 0.7926 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.007532, allocations: 6.969 kB / 0.7926 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.012e-05/0.007602, allocations: 43.91 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.007906, allocations: 295.8 kB / 0.7929 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.008153, allocations: 197.2 kB / 0.7931 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/0.008232, allocations: 67.03 kB / 0.7932 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.008238, allocations: 0.5312 kB / 0.7932 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.008499, allocations: 257 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.113e-06/0.0085, allocations: 1.656 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005406/0.00904, allocations: 377.8 kB / 0.7938 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.0091, allocations: 118.7 kB / 0.7939 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.009387, allocations: 378.2 kB / 0.7943 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.009431, allocations: 42.3 kB / 0.7943 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.009549, allocations: 204.3 kB / 0.7945 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.00959, allocations: 43.73 kB / 0.7946 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.009702, allocations: 120.4 kB / 0.7947 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.009855, allocations: 0.5235 MB / 0.7952 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.00992, allocations: 51.97 kB / 0.7952 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.01042, allocations: 1.065 MB / 0.7963 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.01063, allocations: 255.8 kB / 0.7965 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01063, allocations: 0 / 0.7965 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003107/0.01094, allocations: 272 kB / 0.7968 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.01096, allocations: 13.39 kB / 0.7968 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.01097, allocations: 6.688 kB / 0.7968 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01099, allocations: 4 kB / 0.7968 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.01112, allocations: 43.92 kB / 0.7968 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.01113, allocations: 11.88 kB / 0.7969 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.01142, allocations: 63.77 kB / 0.7969 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.01144, allocations: 16 kB / 0.7969 GB, free: 1.742 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.0001317/0.01157, allocations: 184.3 kB / 0.7971 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.01161, allocations: 40.03 kB / 0.7971 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.01165, allocations: 31.03 kB / 0.7972 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01166, allocations: 4 kB / 0.7972 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.01166, allocations: 4.125 kB / 0.7972 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.01167, allocations: 8.594 kB / 0.7972 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.01185, allocations: 225.2 kB / 0.7974 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01185, allocations: 0 / 0.7974 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-06/0.01186, allocations: 6.969 kB / 0.7974 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01186, allocations: 4 kB / 0.7974 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.01187, allocations: 7.984 kB / 0.7974 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01188, allocations: 3.938 kB / 0.7974 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01188, allocations: 0 / 0.7974 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.01233, allocations: 361.4 kB / 0.7978 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.01236, allocations: 27.78 kB / 0.7978 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.01238, allocations: 8 kB / 0.7978 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.01242, allocations: 1.938 kB / 0.7978 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.01248, allocations: 23.91 kB / 0.7978 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.01251, allocations: 16 kB / 0.7978 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001774/0.01268, allocations: 254.9 kB / 0.7981 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01268, allocations: 0 / 0.7981 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002715/0.01295, allocations: 71.94 kB / 0.7982 GB, free: 432 kB / 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.0001873/0.01314, allocations: 149.1 kB / 0.7983 GB, free: 272 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.01342, allocations: 189.8 kB / 0.7985 GB, free: 80 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.01342, allocations: 0 / 0.7985 GB, free: 80 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.01353, allocations: 91.69 kB / 0.7986 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01373, allocations: 42.48 kB / 0.7986 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.0143, allocations: 482.6 kB / 0.7991 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.604e-05/0.01436, allocations: 92.31 kB / 0.7992 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.073e-05/0.01443, allocations: 41.41 kB / 0.7992 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.01448, allocations: 32.48 kB / 0.7992 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of SimCode: time 8.31e-07/0.01448, allocations: 0 / 0.7992 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of Templates: time 0.006991/0.02147, allocations: 5.816 MB / 0.8049 GB, free: 9.543 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: 5.152915729209781]