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.009659/0.009659, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001589/0.001589, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.18 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.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.89 kB / 0.9509 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.042, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001629/1.044, allocations: 0.6804 MB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001648/1.045, allocations: 1.347 MB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/1.045, allocations: 1 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/1.046, allocations: 191.6 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/1.046, allocations: 104.8 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/1.047, allocations: 222.6 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000622/1.047, allocations: 0.4888 MB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/1.047, allocations: 18.22 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/1.048, allocations: 203 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/1.048, allocations: 208.1 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/1.048, allocations: 25.09 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/1.048, allocations: 78.17 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000379/1.049, allocations: 254.9 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/1.049, allocations: 153.5 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006341/1.05, allocations: 482.7 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.05, allocations: 0.625 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/1.05, allocations: 0 / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.05, allocations: 0.5312 kB / 1.092 GB, free: 3.367 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.0009248/1.051, allocations: 0.6298 MB / 1.093 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/1.051, allocations: 10.06 kB / 1.093 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/1.051, allocations: 30.7 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/1.051, allocations: 389.2 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/1.051, allocations: 13.83 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/1.051, allocations: 21.5 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/1.052, allocations: 189.8 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.052, allocations: 0.75 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/1.052, allocations: 5.516 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.052, allocations: 1.281 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/1.052, allocations: 108.8 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/1.052, allocations: 391.8 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/1.053, allocations: 319.4 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/1.053, allocations: 130.9 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/1.053, allocations: 5.719 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/1.054, allocations: 280.8 kB / 1.095 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/1.054, allocations: 0 / 1.095 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.000973/1.055, allocations: 0.5016 MB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/1.055, allocations: 114.5 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/1.055, allocations: 396.3 kB / 1.096 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/1.055, allocations: 37.22 kB / 1.096 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.055, allocations: 150.6 kB / 1.096 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/1.055, allocations: 45.39 kB / 1.096 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/1.056, allocations: 118.5 kB / 1.096 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/1.056, allocations: 347.3 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/1.056, allocations: 83.17 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/1.057, allocations: 461.5 kB / 1.097 GB, free: 468 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/1.057, allocations: 261.1 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.057, allocations: 1.062 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005391/1.057, allocations: 333 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.057, allocations: 6.156 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.057, allocations: 4.688 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/1.057, allocations: 5.469 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/1.058, allocations: 28.72 kB / 1.097 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.058, allocations: 9.797 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/1.058, allocations: 71.55 kB / 1.098 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/1.058, allocations: 15.33 kB / 1.098 GB, free: 100 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.0002052/1.059, allocations: 197.1 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/1.059, allocations: 38.19 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/1.059, allocations: 32.66 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.059, allocations: 2.219 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.059, allocations: 0.8438 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.059, allocations: 2.531 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/1.059, allocations: 290.2 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.059, allocations: 1.391 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/1.059, allocations: 4.125 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.059, allocations: 3.266 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/1.059, allocations: 4.688 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.059, allocations: 6.141 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.059, allocations: 1.219 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/1.06, allocations: 439.7 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/1.06, allocations: 103.7 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/1.06, allocations: 6.047 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/1.06, allocations: 2.922 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/1.06, allocations: 20.83 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/1.06, allocations: 13.16 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003215/1.06, allocations: 290.8 kB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.06, allocations: 0 / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004559/1.061, allocations: 77.7 kB / 1.099 GB, free: 15.23 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.00024/1.061, allocations: 144.7 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005592/1.062, allocations: 258.1 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.062, allocations: 0.8125 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/1.062, allocations: 147.1 kB / 1.1 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/1.062, allocations: 34.77 kB / 1.1 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/1.063, allocations: 0.5588 MB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/1.064, allocations: 0.7599 MB / 1.101 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001374/1.064, allocations: 57.33 kB / 1.101 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/1.064, allocations: 30.09 kB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/1.064, allocations: 0 / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of Templates: time 0.01014/1.074, allocations: 5.039 MB / 1.106 GB, free: 13.58 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/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