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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_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_9_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.008122/0.008122, allocations: 98.77 kB / 15.73 MB, free: 6.047 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.00185/0.001849, allocations: 194 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.46/2.46, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.5 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3412, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002231/0.3435, allocations: 0.6903 MB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002389/0.3459, allocations: 1.344 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.346, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.3466, allocations: 183.5 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3468, allocations: 103.7 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.3477, allocations: 234.4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000736/0.3485, allocations: 499.7 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.3486, allocations: 8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.349, allocations: 211.6 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.3494, allocations: 199.6 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.3495, allocations: 24 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.3499, allocations: 83.94 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.3503, allocations: 251.5 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.3506, allocations: 151.3 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.3513, allocations: 482.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.3513, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3514, allocations: 7.938 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.3514, allocations: 0 / 1.092 GB, free: 13.59 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.001359/0.3527, allocations: 0.6345 MB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.3528, allocations: 12.03 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.3529, allocations: 38.73 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.353, allocations: 40.69 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.3538, allocations: 380.3 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.3538, allocations: 16.36 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.3539, allocations: 28.12 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.3542, allocations: 188.1 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3542, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.3543, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3543, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.3545, allocations: 107.9 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.355, allocations: 387.1 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.3556, allocations: 315.6 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3558, allocations: 126.5 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.3558, allocations: 4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005455/0.3563, allocations: 283.2 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.3563, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009369/0.3573, allocations: 0.4974 MB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.3574, allocations: 106.8 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.3579, allocations: 404.4 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/0.358, allocations: 37.7 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3581, allocations: 156.7 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.3582, allocations: 43.72 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.3584, allocations: 117.6 kB / 1.096 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3586, allocations: 346.7 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3587, allocations: 87.95 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.3593, allocations: 460.5 kB / 1.096 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3597, allocations: 257.5 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.3597, allocations: 0 / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006951/0.3604, allocations: 337 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3604, allocations: 12.34 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3604, allocations: 8 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3605, allocations: 4 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.3606, allocations: 27.92 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3607, allocations: 7.938 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/0.3614, allocations: 68.47 kB / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3615, allocations: 12 kB / 1.097 GB, free: 7.664 MB / 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.0004267/0.3619, allocations: 199.9 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.362, allocations: 31.81 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.3621, allocations: 29.89 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3621, allocations: 4 kB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3621, allocations: 0 / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3622, allocations: 4 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.3625, allocations: 289.4 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3625, allocations: 3.938 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.3625, allocations: 11.94 kB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3625, allocations: 4 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3625, allocations: 15.92 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3625, allocations: 64 / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.3626, allocations: 4 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.3633, allocations: 440.6 kB / 1.098 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.3634, allocations: 105 kB / 1.098 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.3635, allocations: 7.938 kB / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.3636, allocations: 4 kB / 1.098 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.3636, allocations: 15.98 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.3637, allocations: 15.98 kB / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003617/0.3641, allocations: 291 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3641, allocations: 0 / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004216/0.3645, allocations: 79.88 kB / 1.099 GB, free: 6.039 MB / 0.8575 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.001737/0.3662, allocations: 1.012 MB / 1.1 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.3667, allocations: 252.2 kB / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3668, allocations: 4 kB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.367, allocations: 147.9 kB / 1.1 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3673, allocations: 27.3 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.3725, allocations: 3.257 MB / 1.103 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.3729, allocations: 0.7674 MB / 1.104 GB, free: 328 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.3731, allocations: 53.92 kB / 1.104 GB, free: 276 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3732, allocations: 87.39 kB / 1.104 GB, free: 192 kB / 0.8575 GB Notification: Performance of SimCode: time 2.154e-06/0.3732, allocations: 0 / 1.104 GB, free: 192 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.4054, allocations: 7.616 MB / 1.112 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/8.892, allocations: 15.69 kB / 1.112 GB, free: 8.781 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/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