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.001345/0.001345, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.001352/0.001352, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.552/1.552, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 67.84 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.111, allocations: 159.1 MB / 1.221 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002305/1.113, allocations: 0.6823 MB / 1.222 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002082/1.115, allocations: 1.342 MB / 1.223 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/1.116, allocations: 4 kB / 1.223 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005232/1.116, allocations: 191.5 kB / 1.223 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/1.116, allocations: 95.73 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009339/1.117, allocations: 244.3 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005785/1.118, allocations: 499.6 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/1.118, allocations: 4 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/1.118, allocations: 207.7 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/1.119, allocations: 203.6 kB / 1.224 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/1.119, allocations: 20 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/1.119, allocations: 87.89 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004366/1.12, allocations: 260.4 kB / 1.225 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/1.12, allocations: 143.3 kB / 1.225 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000677/1.12, allocations: 486.5 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.12, allocations: 0 / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.425e-06/1.12, allocations: 4 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.121, allocations: 0 / 1.225 GB, free: 13.94 MB / 0.9512 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.001326/1.122, allocations: 0.6324 MB / 1.226 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.122, allocations: 12.62 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/1.122, allocations: 28.66 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/1.123, allocations: 384 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/1.123, allocations: 16.36 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.676e-05/1.123, allocations: 24.38 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/1.123, allocations: 188.6 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.123, allocations: 192 / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/1.123, allocations: 7.938 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.123, allocations: 0 / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/1.124, allocations: 111.9 kB / 1.227 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/1.124, allocations: 391.1 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/1.125, allocations: 319.6 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/1.125, allocations: 118.6 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/1.125, allocations: 8 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005944/1.126, allocations: 279.2 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/1.126, allocations: 4 kB / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.001026/1.127, allocations: 0.4932 MB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.127, allocations: 118.8 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/1.127, allocations: 400.4 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/1.127, allocations: 37.7 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/1.128, allocations: 156.8 kB / 1.229 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/1.128, allocations: 35.55 kB / 1.229 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/1.128, allocations: 121.5 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.128, allocations: 346.8 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/1.128, allocations: 87.95 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/1.129, allocations: 467 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/1.129, allocations: 253.5 kB / 1.23 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.13, allocations: 3.938 kB / 1.23 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007032/1.13, allocations: 324.8 kB / 1.23 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.13, allocations: 8 kB / 1.23 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.13, allocations: 8.469 kB / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/1.13, allocations: 8 kB / 1.23 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/1.131, allocations: 35.92 kB / 1.23 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-05/1.131, allocations: 8 kB / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/1.131, allocations: 64.33 kB / 1.23 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/1.131, allocations: 19.98 kB / 1.231 GB, free: 8.043 MB / 0.9512 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.0002481/1.132, allocations: 196.5 kB / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/1.132, allocations: 27.62 kB / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/1.132, allocations: 37.83 kB / 1.231 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.132, allocations: 0 / 1.231 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.132, allocations: 3.938 kB / 1.231 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/1.132, allocations: 96.86 kB / 1.231 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/1.132, allocations: 11.98 kB / 1.231 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/1.132, allocations: 0 / 1.231 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/1.132, allocations: 19.98 kB / 1.231 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006274/1.133, allocations: 0.6127 MB / 1.231 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009235/1.134, allocations: 0.702 MB / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002629/1.134, allocations: 139.8 kB / 1.232 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003865/1.134, allocations: 295 kB / 1.233 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of Backend: time 6.71e-07/1.134, allocations: 0 / 1.233 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.135, allocations: 258 kB / 1.233 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001242/1.137, allocations: 0.8786 MB / 1.234 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of Templates: time 0.01081/1.148, allocations: 5.058 MB / 1.239 GB, free: 15.7 MB / 0.9669 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/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