Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01105/0.01105, allocations: 104.8 kB / 15.73 MB, free: 6.051 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.001709/0.001709, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.964/1.964, allocations: 222.9 MB / 240.4 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.183/2.183, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.89 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59/1.592, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.003114/1.595, allocations: 0.8667 MB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003038/1.598, allocations: 1.458 MB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/1.598, allocations: 2.188 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000848/1.599, allocations: 196.1 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/1.599, allocations: 118.8 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/1.601, allocations: 358 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0018/1.603, allocations: 0.8744 MB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/1.603, allocations: 94.19 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008682/1.604, allocations: 347.4 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/1.605, allocations: 263.6 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002754/1.605, allocations: 45.94 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/1.606, allocations: 106.1 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009029/1.607, allocations: 345.3 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006646/1.608, allocations: 273.3 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/1.61, allocations: 0.9085 MB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/1.61, allocations: 0.9062 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.777e-06/1.61, allocations: 4.797 kB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.546e-05/1.61, allocations: 0 / 1.094 GB, free: 2.23 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002803/1.613, allocations: 0.8858 MB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/1.613, allocations: 9.562 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/1.613, allocations: 42.69 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/1.613, allocations: 54.62 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/1.615, allocations: 0.5469 MB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/1.615, allocations: 24.78 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/1.615, allocations: 41.52 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/1.616, allocations: 310.6 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.616, allocations: 3.984 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/1.616, allocations: 6.984 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/1.616, allocations: 7.469 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/1.617, allocations: 221.5 kB / 1.096 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/1.621, allocations: 1.181 MB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/1.622, allocations: 464.2 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/1.622, allocations: 189.6 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/1.622, allocations: 2.312 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/1.624, allocations: 330.3 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 3.537e-06/1.624, allocations: 0 / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.002555/1.626, allocations: 0.6244 MB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.626, allocations: 116.3 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/1.628, allocations: 0.5925 MB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/1.628, allocations: 47.64 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/1.629, allocations: 221 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.629, allocations: 49.19 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006158/1.63, allocations: 186.8 kB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003888/1.63, allocations: 364.8 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/1.63, allocations: 130.1 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/1.632, allocations: 0.7126 MB / 1.101 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/1.633, allocations: 303.2 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.633, allocations: 1.438 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001475/1.634, allocations: 414.1 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/1.634, allocations: 11.48 kB / 1.101 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.634, allocations: 2.594 kB / 1.101 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.635, allocations: 5.219 kB / 1.101 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/1.635, allocations: 40.41 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/1.635, allocations: 9.609 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.637, allocations: 130.2 kB / 1.102 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/1.637, allocations: 16.97 kB / 1.102 GB, free: 13.62 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000753/1.638, allocations: 256.4 kB / 1.102 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/1.638, allocations: 47.5 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/1.638, allocations: 51.73 kB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/1.638, allocations: 3.562 kB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.638, allocations: 0.6094 kB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.638, allocations: 2.531 kB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009218/1.639, allocations: 405.1 kB / 1.102 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.639, allocations: 4 kB / 1.102 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/1.639, allocations: 16.88 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/1.639, allocations: 6.969 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/1.639, allocations: 6.125 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/1.639, allocations: 1.75 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.639, allocations: 1.688 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/1.641, allocations: 0.5194 MB / 1.103 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/1.641, allocations: 130.3 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/1.641, allocations: 7.531 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/1.642, allocations: 17.55 kB / 1.103 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.642, allocations: 30.72 kB / 1.103 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/1.642, allocations: 12.17 kB / 1.103 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001089/1.643, allocations: 434.1 kB / 1.103 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.643, allocations: 0 / 1.103 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001265/1.644, allocations: 116 kB / 1.104 GB, free: 12.54 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.002069/1.646, allocations: 1.105 MB / 1.105 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.648, allocations: 361.7 kB / 1.105 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.648, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/1.648, allocations: 188.7 kB / 1.105 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/1.649, allocations: 38.95 kB / 1.105 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.661, allocations: 4.393 MB / 1.109 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/1.662, allocations: 0.8388 MB / 1.11 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007607/1.662, allocations: 98.58 kB / 1.11 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/1.663, allocations: 128.9 kB / 1.111 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of SimCode: time 1.303e-06/1.663, allocations: 0 / 1.111 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07222/1.735, allocations: 11.58 MB / 1.122 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.91, allocations: 13.62 kB / 1.122 GB, free: 7.422 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches