Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.00598/0.00598, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001455/0.001455, allocations: 197.4 kB / 16.68 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.537/2.537, allocations: 469.4 MB / 0.7422 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 1.064 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7527, allocations: 159.1 MB / 1.22 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001775/0.7545, allocations: 0.6802 MB / 1.22 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.7562, allocations: 1.342 MB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.7563, allocations: 3.938 kB / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.7567, allocations: 191.6 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.7569, allocations: 107.7 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.7576, allocations: 230.7 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.7582, allocations: 0.4918 MB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.7582, allocations: 8 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.7585, allocations: 203.7 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.7588, allocations: 203.6 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.7589, allocations: 24 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.7591, allocations: 87.88 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.7595, allocations: 256.4 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.7597, allocations: 151.3 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.7603, allocations: 470.2 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7603, allocations: 3.984 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7603, allocations: 3.938 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.7603, allocations: 0 / 1.224 GB, free: 13.82 MB / 0.9512 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.001008/0.7613, allocations: 0.6462 MB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.7613, allocations: 12.62 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.7614, allocations: 34.75 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.7615, allocations: 28.8 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.7621, allocations: 388.2 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.7621, allocations: 20.36 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.7622, allocations: 20.38 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.7625, allocations: 184.7 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7625, allocations: 7.938 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.7626, allocations: 3.984 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.7626, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.7627, allocations: 111.9 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.7631, allocations: 383.1 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.7636, allocations: 319.6 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.7637, allocations: 122.6 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.7637, allocations: 3.984 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.7642, allocations: 293.5 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.7642, allocations: 0 / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0007655/0.7649, allocations: 0.5013 MB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.765, allocations: 110.8 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.7654, allocations: 400.5 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.7655, allocations: 37.7 kB / 1.228 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.7657, allocations: 156.8 kB / 1.228 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.7657, allocations: 47.61 kB / 1.228 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.7659, allocations: 117.5 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.766, allocations: 346.8 kB / 1.228 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.7661, allocations: 83.95 kB / 1.228 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.7666, allocations: 467 kB / 1.229 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.7669, allocations: 265.4 kB / 1.229 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7669, allocations: 0 / 1.229 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004766/0.7674, allocations: 325.1 kB / 1.229 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7674, allocations: 11.94 kB / 1.229 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7674, allocations: 0 / 1.229 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7674, allocations: 8 kB / 1.229 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.7676, allocations: 31.92 kB / 1.229 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.7676, allocations: 11.92 kB / 1.229 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.7684, allocations: 74.89 kB / 1.229 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.7684, allocations: 12 kB / 1.229 GB, free: 7.848 MB / 0.9512 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.0001883/0.7686, allocations: 195.9 kB / 1.23 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.7686, allocations: 31.75 kB / 1.23 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.7687, allocations: 37.89 kB / 1.23 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7687, allocations: 4 kB / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7687, allocations: 0 / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7687, allocations: 0 / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.769, allocations: 285.6 kB / 1.23 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.769, allocations: 7.938 kB / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.769, allocations: 4 kB / 1.23 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.769, allocations: 3.938 kB / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.769, allocations: 7.984 kB / 1.23 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.769, allocations: 4 kB / 1.23 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.769, allocations: 3.938 kB / 1.23 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.7696, allocations: 434.4 kB / 1.23 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.7696, allocations: 112.8 kB / 1.231 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.7697, allocations: 0 / 1.231 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.7698, allocations: 8 kB / 1.231 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.7698, allocations: 15.98 kB / 1.231 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.7699, allocations: 15.98 kB / 1.231 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002848/0.7702, allocations: 291 kB / 1.231 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7702, allocations: 0 / 1.231 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004685/0.7707, allocations: 75.88 kB / 1.231 GB, free: 6.246 MB / 0.9512 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.0008657/0.7715, allocations: 1.005 MB / 1.232 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.7719, allocations: 257.5 kB / 1.232 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7719, allocations: 0 / 1.232 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.7721, allocations: 147.9 kB / 1.232 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.7724, allocations: 37.53 kB / 1.232 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.7758, allocations: 3.257 MB / 1.235 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.7761, allocations: 0.7674 MB / 1.236 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.7762, allocations: 49.2 kB / 1.236 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7763, allocations: 83.39 kB / 1.236 GB, free: 424 kB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.7764, allocations: 0 / 1.236 GB, free: 424 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.8011, allocations: 7.623 MB / 1.244 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.461, allocations: 16.62 kB / 1.244 GB, free: 9.047 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches