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.001454/0.001454, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001595/0.001595, allocations: 171.1 kB / 24.87 MB, free: 9.258 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.9946/0.9946, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.931/1.931, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 177] 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 3.196e-06/3.196e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.239e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001671/0.001703, allocations: 0.6825 MB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.003284, allocations: 1.368 MB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.003361, allocations: 4 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.003844, allocations: 202.3 kB / 0.7905 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.003942, allocations: 113.6 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.00475, allocations: 237.5 kB / 0.7909 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000452/0.005202, allocations: 491.7 kB / 0.7913 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.005246, allocations: 4.5 kB / 0.7913 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.005469, allocations: 251.7 kB / 0.7916 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.005734, allocations: 189.2 kB / 0.7918 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.005787, allocations: 20 kB / 0.7918 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.005984, allocations: 97 kB / 0.7919 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.006192, allocations: 211.5 kB / 0.7921 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.006299, allocations: 111.8 kB / 0.7922 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.006753, allocations: 428.1 kB / 0.7926 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006757, allocations: 4 kB / 0.7926 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.006758, allocations: 0 / 0.7926 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.006764, allocations: 0 / 0.7926 GB, free: 7.844 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.0007823/0.007546, allocations: 0.6646 MB / 0.7932 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.007585, allocations: 8.031 kB / 0.7932 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.007704, allocations: 40.78 kB / 0.7933 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.008002, allocations: 273.4 kB / 0.7935 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.008018, allocations: 12.38 kB / 0.7936 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.008062, allocations: 24.98 kB / 0.7936 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.008228, allocations: 113.2 kB / 0.7937 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.008235, allocations: 2.125 kB / 0.7937 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.008249, allocations: 4.375 kB / 0.7937 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.008253, allocations: 384 / 0.7937 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.248e-05/0.008306, allocations: 35.84 kB / 0.7937 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.008549, allocations: 236.5 kB / 0.794 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.008742, allocations: 159.6 kB / 0.7941 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.008798, allocations: 47.11 kB / 0.7942 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.008804, allocations: 7.938 kB / 0.7942 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.009047, allocations: 228.5 kB / 0.7944 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.009048, allocations: 0.5312 kB / 0.7944 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0004586/0.009507, allocations: 318.9 kB / 0.7947 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.009567, allocations: 114.8 kB / 0.7948 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.009815, allocations: 362.2 kB / 0.7951 GB, free: 5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.009863, allocations: 41.7 kB / 0.7952 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.009982, allocations: 208.1 kB / 0.7954 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.01002, allocations: 47.66 kB / 0.7954 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.01014, allocations: 124.4 kB / 0.7955 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.0103, allocations: 0.5273 MB / 0.7961 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.01035, allocations: 35.97 kB / 0.7961 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.01086, allocations: 1.053 MB / 0.7971 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.01123, allocations: 226.6 kB / 0.7973 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.01123, allocations: 5.562 kB / 0.7973 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002845/0.01152, allocations: 237.6 kB / 0.7976 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01153, allocations: 4 kB / 0.7976 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01154, allocations: 4 kB / 0.7976 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01155, allocations: 8 kB / 0.7976 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01169, allocations: 43.89 kB / 0.7976 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.0117, allocations: 8 kB / 0.7976 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.012, allocations: 74.41 kB / 0.7977 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.01201, allocations: 15.98 kB / 0.7977 GB, free: 1.941 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.000162/0.01218, allocations: 188.7 kB / 0.7979 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.01222, allocations: 35.75 kB / 0.7979 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.01226, allocations: 26.45 kB / 0.798 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.01227, allocations: 7.984 kB / 0.798 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01227, allocations: 1.344 kB / 0.798 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.01228, allocations: 0 / 0.798 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.01244, allocations: 193 kB / 0.7982 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01244, allocations: 0.9062 kB / 0.7982 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/0.01245, allocations: 4 kB / 0.7982 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01246, allocations: 4 kB / 0.7982 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01247, allocations: 8.641 kB / 0.7982 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01247, allocations: 2.812 kB / 0.7982 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01247, allocations: 0 / 0.7982 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.01277, allocations: 323.3 kB / 0.7985 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.0128, allocations: 27.77 kB / 0.7985 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.01283, allocations: 8 kB / 0.7985 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.01288, allocations: 0 / 0.7985 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.01292, allocations: 19.97 kB / 0.7985 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.01294, allocations: 8 kB / 0.7985 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001332/0.01307, allocations: 241.3 kB / 0.7988 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/0.01307, allocations: 0 / 0.7988 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003505/0.01342, allocations: 75.94 kB / 0.7988 GB, free: 0.7344 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.0001939/0.01361, allocations: 151 kB / 0.799 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.01383, allocations: 157.5 kB / 0.7991 GB, free: 428 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01383, allocations: 1.062 kB / 0.7991 GB, free: 428 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.01391, allocations: 75.56 kB / 0.7992 GB, free: 348 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.01412, allocations: 33.66 kB / 0.7992 GB, free: 316 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.01469, allocations: 469.6 kB / 0.7997 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.751e-05/0.01475, allocations: 93.52 kB / 0.7998 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.648e-05/0.01483, allocations: 30.14 kB / 0.7998 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.01499, allocations: 150.1 kB / 0.8 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of SimCode: time 8.11e-07/0.01499, allocations: 0 / 0.8 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of Templates: time 0.007688/0.02268, allocations: 5.921 MB / 0.8057 GB, free: 9.715 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.468125342857093]