Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001397/0.001397, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001492/0.001492, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.398/1.398, 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 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.82/0.8219, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001896/0.8239, allocations: 0.6974 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.8258, allocations: 1.343 MB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.8258, allocations: 1.25 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.8264, allocations: 187.4 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.8266, allocations: 104.1 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.8273, allocations: 230.4 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000598/0.8279, allocations: 492.3 kB / 1.092 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.8279, allocations: 18.12 kB / 1.092 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.8282, allocations: 202.9 kB / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.8286, allocations: 208.5 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.157e-05/0.8287, allocations: 20.81 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.8289, allocations: 82.34 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.8293, allocations: 249.7 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.8294, allocations: 150.2 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005964/0.83, allocations: 487.1 kB / 1.093 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8301, allocations: 0 / 1.093 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8301, allocations: 0.8438 kB / 1.093 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.8301, allocations: 3.938 kB / 1.093 GB, free: 3.344 MB / 0.8575 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.0009452/0.831, allocations: 0.6305 MB / 1.094 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.8311, allocations: 9.906 kB / 1.094 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.8312, allocations: 30.83 kB / 1.094 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.8317, allocations: 384.6 kB / 1.094 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.8317, allocations: 21.55 kB / 1.094 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.8318, allocations: 21.81 kB / 1.094 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.8321, allocations: 189.5 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.8321, allocations: 4.625 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.8321, allocations: 2.312 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8321, allocations: 1.469 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.8323, allocations: 107.9 kB / 1.094 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.8328, allocations: 399.4 kB / 1.095 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.8332, allocations: 315.3 kB / 1.095 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.8334, allocations: 132.3 kB / 1.095 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.8335, allocations: 5.062 kB / 1.095 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/0.8339, allocations: 282.6 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.8339, allocations: 0.5 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0008581/0.8348, allocations: 0.4893 MB / 1.096 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.8348, allocations: 114.5 kB / 1.096 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.8353, allocations: 397.5 kB / 1.096 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.8354, allocations: 36.77 kB / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.8355, allocations: 153.9 kB / 1.097 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.8355, allocations: 37.31 kB / 1.097 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.8357, allocations: 123.5 kB / 1.097 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.8358, allocations: 342.9 kB / 1.097 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.8359, allocations: 82.69 kB / 1.097 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.8364, allocations: 465.8 kB / 1.098 GB, free: 448 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.8367, allocations: 261.7 kB / 1.098 GB, free: 248 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8367, allocations: 1.094 kB / 1.098 GB, free: 248 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004998/0.8372, allocations: 324.3 kB / 1.098 GB, free: 124 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8372, allocations: 11.23 kB / 1.098 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8372, allocations: 3.812 kB / 1.098 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.8373, allocations: 6.094 kB / 1.098 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.8374, allocations: 32.7 kB / 1.098 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.8375, allocations: 10.14 kB / 1.098 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007577/0.8382, allocations: 74.88 kB / 1.098 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.8382, allocations: 15.12 kB / 1.098 GB, free: 76 kB / 0.8575 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.0002419/0.8385, allocations: 195.1 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.8386, allocations: 33.14 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.8386, allocations: 33.61 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.8386, allocations: 2.125 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8387, allocations: 1.094 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.8387, allocations: 1.891 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.839, allocations: 286.9 kB / 1.099 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.839, allocations: 5.094 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.839, allocations: 4.5 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.839, allocations: 6.031 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.8391, allocations: 5.469 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8391, allocations: 5.922 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8391, allocations: 2.078 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.8397, allocations: 441.1 kB / 1.099 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.8398, allocations: 107 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.8399, allocations: 3.484 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.84, allocations: 6.672 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.8401, allocations: 16.69 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.8401, allocations: 20.14 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000363/0.8405, allocations: 287.4 kB / 1.1 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8405, allocations: 1.094 kB / 1.1 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004638/0.8409, allocations: 76.73 kB / 1.1 GB, free: 15.2 MB / 0.8731 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.0002576/0.8412, allocations: 148.2 kB / 1.1 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000569/0.8418, allocations: 256.8 kB / 1.1 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8418, allocations: 0.5625 kB / 1.1 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.8422, allocations: 176.3 kB / 1.1 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.8425, allocations: 36.84 kB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.8435, allocations: 0.5948 MB / 1.101 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.8439, allocations: 0.7631 MB / 1.102 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.844, allocations: 31.17 kB / 1.102 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.844, allocations: 0 / 1.102 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.008021/0.852, allocations: 4.335 MB / 1.106 GB, free: 13.49 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time