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.001139/0.001139, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001076/0.001076, allocations: 187 kB / 17.34 MB, free: 5.742 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.322/1.322, 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 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 68.09 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8327/0.8341, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001783/0.836, allocations: 0.683 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.8377, allocations: 1.341 MB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.8378, allocations: 5.062 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.8383, allocations: 183.5 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.8385, allocations: 104.4 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007804/0.8393, allocations: 231.7 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.84, allocations: 0.4932 MB / 1.092 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.84, allocations: 13.77 kB / 1.092 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.8404, allocations: 207.4 kB / 1.092 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.8408, allocations: 203.6 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.367e-05/0.8409, allocations: 25.31 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.8411, allocations: 81.58 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.8416, allocations: 250.7 kB / 1.092 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.8418, allocations: 153.8 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.8425, allocations: 478.8 kB / 1.093 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8425, allocations: 4.453 kB / 1.093 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8425, allocations: 4.906 kB / 1.093 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.8425, allocations: 0 / 1.093 GB, free: 3.32 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.001005/0.8435, allocations: 0.6303 MB / 1.094 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8436, allocations: 9.25 kB / 1.094 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.8437, allocations: 31.05 kB / 1.094 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.8442, allocations: 385.1 kB / 1.094 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.8442, allocations: 13.62 kB / 1.094 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.8443, allocations: 25.64 kB / 1.094 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.8447, allocations: 190.3 kB / 1.094 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8447, allocations: 0 / 1.094 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.8447, allocations: 5.578 kB / 1.094 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8447, allocations: 1.5 kB / 1.094 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.845, allocations: 108.8 kB / 1.094 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.8454, allocations: 390.8 kB / 1.095 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.846, allocations: 319.6 kB / 1.095 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.8462, allocations: 123.7 kB / 1.095 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.8462, allocations: 10.25 kB / 1.095 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000507/0.8467, allocations: 278.5 kB / 1.095 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.8467, allocations: 4 kB / 1.095 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009835/0.8477, allocations: 0.4942 MB / 1.096 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.8478, allocations: 114.6 kB / 1.096 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.8484, allocations: 396.1 kB / 1.096 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.8484, allocations: 41.84 kB / 1.096 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.8486, allocations: 149.6 kB / 1.097 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.8486, allocations: 42.25 kB / 1.097 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.8488, allocations: 113.7 kB / 1.097 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.8489, allocations: 347.5 kB / 1.097 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.8491, allocations: 82.34 kB / 1.097 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.8496, allocations: 466.7 kB / 1.098 GB, free: 432 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.8499, allocations: 259.7 kB / 1.098 GB, free: 232 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.8499, allocations: 1.969 kB / 1.098 GB, free: 232 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005421/0.8504, allocations: 332.7 kB / 1.098 GB, free: 100 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8505, allocations: 7.281 kB / 1.098 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.8505, allocations: 11.38 kB / 1.098 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.8505, allocations: 5.797 kB / 1.098 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.8507, allocations: 33.31 kB / 1.098 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.8507, allocations: 10.59 kB / 1.098 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.8515, allocations: 66.41 kB / 1.098 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.8515, allocations: 15.19 kB / 1.098 GB, free: 56 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.0002672/0.8518, allocations: 195.6 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.8519, allocations: 32.12 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.8519, allocations: 33.34 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.852, allocations: 3.312 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.852, allocations: 1.531 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.852, allocations: 5.688 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.8523, allocations: 286.5 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8523, allocations: 1.156 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.8523, allocations: 8.859 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.8524, allocations: 1.656 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.8524, allocations: 5.281 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.8524, allocations: 1.828 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8524, allocations: 1.562 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.853, allocations: 436.9 kB / 1.099 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.8531, allocations: 107 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.8532, allocations: 12.11 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.8533, allocations: 6.453 kB / 1.099 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.8534, allocations: 16.14 kB / 1.099 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.8534, allocations: 12.45 kB / 1.099 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003852/0.8538, allocations: 287.9 kB / 1.1 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8538, allocations: 0 / 1.1 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004636/0.8543, allocations: 77.3 kB / 1.1 GB, free: 15.19 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.0002513/0.8545, allocations: 148.9 kB / 1.1 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005759/0.8551, allocations: 261 kB / 1.1 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8551, allocations: 0 / 1.1 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.8555, allocations: 171.7 kB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.8558, allocations: 30.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.001102/0.8569, allocations: 0.5986 MB / 1.101 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.8573, allocations: 0.7629 MB / 1.102 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.8573, allocations: 34.58 kB / 1.102 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.8573, allocations: 1.438 kB / 1.102 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.008831/0.8662, allocations: 4.336 MB / 1.106 GB, free: 13.48 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