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.001496/0.001496, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00207/0.00207, allocations: 193 kB / 16.25 MB, free: 6.637 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.543/1.543, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.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.472/2.472, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 71.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8102, allocations: 140.4 MB / 0.9491 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002908/0.8132, allocations: 0.737 MB / 0.9499 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.8153, allocations: 1.336 MB / 0.9512 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.8154, allocations: 0 / 0.9512 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005917/0.816, allocations: 183.1 kB / 0.9513 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.8162, allocations: 100.3 kB / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.8169, allocations: 222.2 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.8174, allocations: 479.1 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.842e-05/0.8175, allocations: 5.5 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.8179, allocations: 205.2 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.8183, allocations: 213.8 kB / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.8184, allocations: 25.72 kB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.8186, allocations: 81.5 kB / 0.9526 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000411/0.8191, allocations: 256.9 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.8193, allocations: 156.4 kB / 0.953 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007001/0.82, allocations: 476.9 kB / 0.9535 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.82, allocations: 0 / 0.9535 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.896e-06/0.8201, allocations: 0 / 0.9535 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.8201, allocations: 0 / 0.9535 GB, free: 6.395 MB / 0.7169 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.00107/0.8212, allocations: 0.632 MB / 0.9541 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.8212, allocations: 10.31 kB / 0.9541 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.8214, allocations: 34.06 kB / 0.9541 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.8219, allocations: 383.4 kB / 0.9545 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.822, allocations: 9.906 kB / 0.9545 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.8221, allocations: 24.7 kB / 0.9545 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.8224, allocations: 191.6 kB / 0.9547 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8224, allocations: 1.312 kB / 0.9547 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.8224, allocations: 5.312 kB / 0.9547 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8224, allocations: 0 / 0.9547 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.8226, allocations: 114.9 kB / 0.9548 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.8231, allocations: 390.5 kB / 0.9552 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.8235, allocations: 316.6 kB / 0.9555 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.8237, allocations: 121.6 kB / 0.9556 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.8237, allocations: 9.5 kB / 0.9556 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.8242, allocations: 284.1 kB / 0.9559 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.8242, allocations: 0 / 0.9559 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0008715/0.8251, allocations: 0.496 MB / 0.9564 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.8252, allocations: 108.3 kB / 0.9565 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.8256, allocations: 402.1 kB / 0.9568 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.8257, allocations: 49.17 kB / 0.9569 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.8258, allocations: 154.5 kB / 0.957 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.8259, allocations: 34.67 kB / 0.9571 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.8261, allocations: 117.1 kB / 0.9572 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.8261, allocations: 344.6 kB / 0.9575 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.8263, allocations: 86.06 kB / 0.9576 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.8268, allocations: 462.5 kB / 0.958 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.8271, allocations: 262.4 kB / 0.9583 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.8271, allocations: 1.156 kB / 0.9583 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005184/0.8276, allocations: 332.9 kB / 0.9586 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.8277, allocations: 6.406 kB / 0.9586 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.8277, allocations: 4.156 kB / 0.9586 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.8277, allocations: 5.5 kB / 0.9586 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.8279, allocations: 28.89 kB / 0.9587 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.8279, allocations: 8.844 kB / 0.9587 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.8287, allocations: 80.3 kB / 0.9587 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.8287, allocations: 14.61 kB / 0.9588 GB, free: 2.457 MB / 0.7169 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.0001915/0.8289, allocations: 191.1 kB / 0.9589 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.829, allocations: 32.48 kB / 0.959 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.829, allocations: 37.27 kB / 0.959 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.829, allocations: 6.594 kB / 0.959 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.829, allocations: 1.312 kB / 0.959 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.829, allocations: 1.031 kB / 0.959 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.8293, allocations: 287.4 kB / 0.9593 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.8293, allocations: 1.156 kB / 0.9593 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.8293, allocations: 7.094 kB / 0.9593 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.8293, allocations: 2.25 kB / 0.9593 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.8293, allocations: 7.359 kB / 0.9593 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.8293, allocations: 5.094 kB / 0.9593 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8293, allocations: 1.125 kB / 0.9593 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.8299, allocations: 432.7 kB / 0.9597 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.8299, allocations: 101.6 kB / 0.9598 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.83, allocations: 10.73 kB / 0.9598 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.8301, allocations: 1.156 kB / 0.9598 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.8301, allocations: 15.89 kB / 0.9598 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.8301, allocations: 17.58 kB / 0.9599 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002597/0.8304, allocations: 292.9 kB / 0.9601 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8304, allocations: 3.938 kB / 0.9601 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004053/0.8308, allocations: 76 kB / 0.9602 GB, free: 1.441 MB / 0.7169 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.0002159/0.831, allocations: 146 kB / 0.9604 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.8315, allocations: 273.2 kB / 0.9606 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8315, allocations: 0.9688 kB / 0.9606 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.8317, allocations: 143.8 kB / 0.9608 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.832, allocations: 30.33 kB / 0.9608 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/0.8329, allocations: 0.6234 MB / 0.9614 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.8331, allocations: 0.7632 MB / 0.9621 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000173/0.8333, allocations: 50.64 kB / 0.9622 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.8334, allocations: 24.31 kB / 0.9622 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8334, allocations: 0 / 0.9622 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.01094/0.8443, allocations: 4.988 MB / 0.9671 GB, free: 13.54 MB / 0.7325 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches