Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 104.9 kB / 16.35 MB, free: 5.824 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.001765/0.001765, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.5 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002268/0.3783, allocations: 0.7048 MB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3803, allocations: 1.345 MB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.3804, allocations: 0 / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.3809, allocations: 195.5 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3811, allocations: 103.7 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.3818, allocations: 227.1 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.3824, allocations: 0.4919 MB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.3824, allocations: 4 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3826, allocations: 203.7 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.383, allocations: 215.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.778e-05/0.383, allocations: 24 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3832, allocations: 75.94 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.3836, allocations: 251.5 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.3838, allocations: 155.3 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.3843, allocations: 478.7 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3843, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3843, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3843, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 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.0009741/0.3853, allocations: 0.6423 MB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3853, allocations: 8.031 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.3854, allocations: 28.66 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.3861, allocations: 384 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3861, allocations: 12.38 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.3862, allocations: 28.36 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.3865, allocations: 184.7 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3866, allocations: 8.125 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3866, allocations: 7.875 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3866, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.3868, allocations: 111.9 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.3873, allocations: 375.2 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.3878, allocations: 319.6 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.388, allocations: 130.5 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.388, allocations: 0 / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.3884, allocations: 285.6 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.3885, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0008113/0.3893, allocations: 0.5009 MB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.3894, allocations: 106.8 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.3898, allocations: 400.5 kB / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.3899, allocations: 41.7 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.39, allocations: 160.7 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.3901, allocations: 43.45 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.3903, allocations: 113.6 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3904, allocations: 342.8 kB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3905, allocations: 79.95 kB / 1.035 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.3911, allocations: 472 kB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.3914, allocations: 261.4 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3914, allocations: 4 kB / 1.036 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004699/0.3919, allocations: 324.9 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3919, allocations: 11.94 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3919, allocations: 0 / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3919, allocations: 8 kB / 1.036 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3921, allocations: 31.92 kB / 1.036 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.3921, allocations: 8.344 kB / 1.036 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/0.3928, allocations: 71.45 kB / 1.036 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.3929, allocations: 11.98 kB / 1.036 GB, free: 7.703 MB / 0.8106 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.000211/0.3931, allocations: 195.9 kB / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.3931, allocations: 35.55 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.3932, allocations: 37.89 kB / 1.037 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3932, allocations: 4 kB / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3932, allocations: 0 / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3932, allocations: 0 / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3935, allocations: 289.4 kB / 1.037 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3935, allocations: 128 / 1.037 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.3936, allocations: 8 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3936, allocations: 3.938 kB / 1.037 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.3936, allocations: 11.98 kB / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3936, allocations: 7.938 kB / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3936, allocations: 0 / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.3942, allocations: 438.3 kB / 1.037 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.3943, allocations: 96.83 kB / 1.037 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.3943, allocations: 11.86 kB / 1.037 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.3944, allocations: 8 kB / 1.037 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.3945, allocations: 16.22 kB / 1.037 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3945, allocations: 15.98 kB / 1.037 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003199/0.3948, allocations: 295 kB / 1.038 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3948, allocations: 0 / 1.038 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003869/0.3952, allocations: 75.98 kB / 1.038 GB, free: 6.082 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: 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.0002161/0.3954, allocations: 131.2 kB / 1.038 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.3959, allocations: 268 kB / 1.038 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3959, allocations: 0 / 1.038 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.3961, allocations: 147.9 kB / 1.038 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3963, allocations: 24.64 kB / 1.038 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.3972, allocations: 0.5723 MB / 1.039 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.3976, allocations: 0.7675 MB / 1.04 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.3977, allocations: 45.94 kB / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.3978, allocations: 27.44 kB / 1.04 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of SimCode: time 1.613e-06/0.3978, allocations: 4 kB / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of Templates: time 0.009312/0.4071, allocations: 4.995 MB / 1.045 GB, free: 15.12 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches