Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.001451/0.001451, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.835/2.835, allocations: 469.4 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 63.91 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3458, allocations: 159.1 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002016/0.3479, allocations: 0.8603 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.3499, allocations: 1.455 MB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.3501, allocations: 0 / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.3506, allocations: 199.4 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.3508, allocations: 111.6 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3519, allocations: 374.6 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.353, allocations: 0.8699 MB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.3532, allocations: 96.22 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.3537, allocations: 351.4 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.3542, allocations: 267.2 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.3544, allocations: 44 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3547, allocations: 103.9 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005567/0.3552, allocations: 347.3 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.3557, allocations: 274.8 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000998/0.3567, allocations: 0.9112 MB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3567, allocations: 0 / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3567, allocations: 4 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.3568, allocations: 0 / 1.226 GB, free: 8.355 MB / 0.9825 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.00201/0.3588, allocations: 0.9111 MB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3588, allocations: 8.031 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.3589, allocations: 46.67 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.3591, allocations: 60.66 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009995/0.3601, allocations: 0.5413 MB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.3602, allocations: 24.61 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.3603, allocations: 40.38 kB / 1.227 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.3608, allocations: 306.2 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3608, allocations: 3.938 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.3609, allocations: 0 / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3609, allocations: 4 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.3612, allocations: 223.8 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.3634, allocations: 1.18 MB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.3641, allocations: 467.8 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3643, allocations: 186.6 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3644, allocations: 7.938 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.3649, allocations: 333.5 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 4.068e-06/0.3649, allocations: 3.984 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001202/0.3661, allocations: 0.6221 MB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3662, allocations: 118.8 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008486/0.3671, allocations: 0.5916 MB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.3672, allocations: 49.69 kB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.3675, allocations: 221.5 kB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.326e-05/0.3676, allocations: 48.39 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.3679, allocations: 189.5 kB / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3681, allocations: 362.8 kB / 1.232 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.3683, allocations: 131.8 kB / 1.232 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008225/0.3691, allocations: 0.7148 MB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.3695, allocations: 296.6 kB / 1.233 GB, free: 220 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3695, allocations: 0 / 1.233 GB, free: 220 kB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007256/0.3702, allocations: 421.1 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3703, allocations: 7.938 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3703, allocations: 4 kB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.3703, allocations: 11.75 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3705, allocations: 36.23 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3705, allocations: 8 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.3719, allocations: 127.8 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.372, allocations: 16 kB / 1.234 GB, free: 15.59 MB / 0.9981 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.0004025/0.3724, allocations: 265.6 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.3725, allocations: 47.7 kB / 1.234 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.452e-05/0.3726, allocations: 51.31 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3726, allocations: 4 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3726, allocations: 0 / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3726, allocations: 0 / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.373, allocations: 409.3 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.373, allocations: 0 / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.3731, allocations: 15.94 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3731, allocations: 0 / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3731, allocations: 11.92 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3731, allocations: 4 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3731, allocations: 256 / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.3738, allocations: 0.5205 MB / 1.235 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3739, allocations: 128.9 kB / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.374, allocations: 7.938 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3742, allocations: 19.97 kB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3743, allocations: 27.97 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.3743, allocations: 12 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005101/0.3748, allocations: 431.1 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3749, allocations: 0 / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005185/0.3754, allocations: 119.8 kB / 1.236 GB, free: 13.44 MB / 0.9981 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.001117/0.3765, allocations: 1.108 MB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006153/0.3771, allocations: 359.5 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3771, allocations: 0 / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.3774, allocations: 187.8 kB / 1.237 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3777, allocations: 46.25 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.3835, allocations: 4.421 MB / 1.242 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.384, allocations: 0.8311 MB / 1.243 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003212/0.3844, allocations: 98.91 kB / 1.243 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.3846, allocations: 131.4 kB / 1.243 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.3846, allocations: 0 / 1.243 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6955/1.08, allocations: 11.58 MB / 1.254 GB, free: 29.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.656/9.737, allocations: 7.312 kB / 1.254 GB, free: 29.99 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches