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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00141/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001655/0.001656, allocations: 198.1 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.03/3.03, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.64 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.398, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002228/0.4003, allocations: 0.7379 MB / 1.053 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.4022, allocations: 1.361 MB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.4023, allocations: 4 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.4028, allocations: 179.6 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.4029, allocations: 103.7 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.4036, allocations: 206.5 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004706/0.404, allocations: 431.7 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.4041, allocations: 11.98 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.4043, allocations: 183.7 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.4046, allocations: 203.5 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.67e-05/0.4047, allocations: 12 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.4049, allocations: 71.89 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.4053, allocations: 239.5 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.4054, allocations: 139.3 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.406, allocations: 463 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.406, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.494e-06/0.406, allocations: 11.94 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.406, allocations: 0 / 1.056 GB, free: 4.527 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.001027/0.407, allocations: 0.6306 MB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4071, allocations: 12.02 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.4072, allocations: 40.66 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.4078, allocations: 380.1 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.4078, allocations: 12.38 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.4079, allocations: 24.36 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.4082, allocations: 196.6 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4082, allocations: 192 / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.4082, allocations: 3.938 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4082, allocations: 4 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.4084, allocations: 111.9 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.4089, allocations: 387.1 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.4094, allocations: 311.7 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.4095, allocations: 126.5 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.4096, allocations: 4 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004835/0.41, allocations: 273.6 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.4101, allocations: 4 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0008191/0.4109, allocations: 0.4971 MB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.411, allocations: 118.7 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.4114, allocations: 400.5 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.4115, allocations: 37.64 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.4117, allocations: 160.8 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.4117, allocations: 35.47 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.4119, allocations: 121.6 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4121, allocations: 342.8 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.4123, allocations: 84 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.4128, allocations: 471.4 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.4131, allocations: 253.5 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4131, allocations: 0 / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005113/0.4136, allocations: 328.8 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4137, allocations: 11.94 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4137, allocations: 8.391 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4137, allocations: 8 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.4139, allocations: 32.05 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.4139, allocations: 8 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.4147, allocations: 57.48 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.4147, allocations: 12 kB / 1.062 GB, free: 14.65 MB / 0.8262 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.0002186/0.415, allocations: 204.1 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.415, allocations: 35.56 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.4151, allocations: 33.88 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4151, allocations: 4 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.4151, allocations: 3.984 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4151, allocations: 7.938 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.4154, allocations: 289.4 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4154, allocations: 0 / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.4154, allocations: 7.938 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4155, allocations: 8 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4155, allocations: 4 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4155, allocations: 3.984 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4155, allocations: 0 / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.4161, allocations: 436.4 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.4162, allocations: 104.8 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.4162, allocations: 11.98 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.4163, allocations: 4 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.4164, allocations: 15.98 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.4164, allocations: 15.98 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003143/0.4167, allocations: 287 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.4168, allocations: 0 / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004049/0.4172, allocations: 79.98 kB / 1.063 GB, free: 13.03 MB / 0.8262 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.0002512/0.4174, allocations: 140.3 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.4179, allocations: 251.7 kB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4179, allocations: 0 / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.4181, allocations: 151.9 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.4184, allocations: 33.39 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/0.4193, allocations: 0.6061 MB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.4197, allocations: 0.7638 MB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.4199, allocations: 49.94 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.42, allocations: 27.44 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.42, allocations: 0 / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.009263/0.4292, allocations: 4.823 MB / 1.07 GB, free: 6.199 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 -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/jenkins/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