Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 63.78 kB / 0.8707 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 151.6 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002098/0.316, allocations: 0.8557 MB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3178, allocations: 1.457 MB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.3179, allocations: 4 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.3184, allocations: 203.4 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3186, allocations: 103.7 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.3195, allocations: 359.6 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008814/0.3204, allocations: 0.8776 MB / 1.023 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.3206, allocations: 104.2 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.3209, allocations: 351.4 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.3212, allocations: 259.4 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3213, allocations: 44 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.3216, allocations: 115.9 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004016/0.322, allocations: 343.3 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.3223, allocations: 270.8 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007958/0.3231, allocations: 0.9116 MB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3231, allocations: 0 / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3231, allocations: 0 / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.3231, allocations: 4 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001442/0.3246, allocations: 0.8878 MB / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3246, allocations: 8.922 kB / 1.026 GB, free: 2.605 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.3248, allocations: 56.38 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.3258, allocations: 0.5449 MB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.3258, allocations: 28.61 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3259, allocations: 36.38 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.3264, allocations: 311.2 kB / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3264, allocations: 192 / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.3264, allocations: 3.938 kB / 1.027 GB, free: 1.582 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3264, allocations: 4 kB / 1.027 GB, free: 1.578 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.3268, allocations: 227.8 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.3287, allocations: 1.187 MB / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.3293, allocations: 471.7 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.3295, allocations: 182.6 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.3296, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.33, allocations: 325.7 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.33, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24): time 0.0009843/0.331, allocations: 0.6259 MB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.3311, allocations: 122.7 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.3317, allocations: 0.5916 MB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-05/0.3318, allocations: 49.69 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.332, allocations: 218.2 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.3321, allocations: 43.47 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.3323, allocations: 185.5 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3325, allocations: 362.8 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3327, allocations: 127.9 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007869/0.3335, allocations: 0.7187 MB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3338, allocations: 292.6 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3338, allocations: 4 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006175/0.3345, allocations: 428.7 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3345, allocations: 8 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3345, allocations: 0 / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3345, allocations: 8.375 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3347, allocations: 39.86 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3347, allocations: 8 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.3359, allocations: 130.9 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3359, allocations: 16 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002929/0.3362, allocations: 262.3 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.3363, allocations: 43.44 kB / 1.033 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.3364, allocations: 51.36 kB / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3364, allocations: 7.938 kB / 1.033 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3364, allocations: 0 / 1.033 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3364, allocations: 7.984 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.3368, allocations: 401.2 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3368, allocations: 4 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.3368, allocations: 8 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3368, allocations: 0 / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.3369, allocations: 7.984 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.3369, allocations: 11.88 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3369, allocations: 0 / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.3375, allocations: 0.5126 MB / 1.034 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3377, allocations: 128.6 kB / 1.034 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.3377, allocations: 0 / 1.034 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.3379, allocations: 31.84 kB / 1.034 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.338, allocations: 31.91 kB / 1.034 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.338, allocations: 16.06 kB / 1.034 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004702/0.3385, allocations: 431.1 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3385, allocations: 0 / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004573/0.339, allocations: 112 kB / 1.035 GB, free: 8.742 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002574/0.3392, allocations: 149.4 kB / 1.035 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005774/0.3398, allocations: 355.4 kB / 1.035 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3398, allocations: 4.75 kB / 1.035 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.3401, allocations: 183.9 kB / 1.036 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3404, allocations: 48.92 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3416, allocations: 0.8269 MB / 1.036 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.3421, allocations: 0.835 MB / 1.037 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002166/0.3423, allocations: 98.91 kB / 1.037 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.3424, allocations: 35.44 kB / 1.037 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3424, allocations: 0 / 1.037 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of Templates: time 0.0129/0.3553, allocations: 7.941 MB / 1.045 GB, free: 14.3 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches