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.008509/0.008509, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001938/0.001938, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.381/1.381, 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 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8416/0.843, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002152/0.8452, allocations: 0.6763 MB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.848, allocations: 1.347 MB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.8481, allocations: 1 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.8488, allocations: 183.7 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.849, allocations: 107.5 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.8499, allocations: 227.2 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008241/0.8507, allocations: 493.4 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.8508, allocations: 13.73 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.8511, allocations: 201.9 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005202/0.8517, allocations: 215.9 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.928e-05/0.8518, allocations: 25.25 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.8521, allocations: 82.48 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004722/0.8525, allocations: 249.8 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.8528, allocations: 158.7 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000791/0.8536, allocations: 472.7 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8536, allocations: 0 / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8536, allocations: 0.7812 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8536, allocations: 0.7969 kB / 1.092 GB, free: 3.098 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.00115/0.8548, allocations: 0.6324 MB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.8548, allocations: 8.906 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.8549, allocations: 38.41 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.8551, allocations: 34.25 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.8557, allocations: 389.6 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.8558, allocations: 14.14 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/0.8559, allocations: 25.11 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.8563, allocations: 198.3 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8563, allocations: 0 / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.8563, allocations: 1.953 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.8564, allocations: 1.375 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.8566, allocations: 111.9 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.8572, allocations: 388.1 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.8579, allocations: 319.7 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.8581, allocations: 131.3 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.8581, allocations: 1.094 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/0.8587, allocations: 280.5 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.8587, allocations: 0 / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009368/0.8597, allocations: 0.4903 MB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.8597, allocations: 118.4 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.8602, allocations: 396.7 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.8603, allocations: 37.58 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.8604, allocations: 153.8 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.8605, allocations: 41.91 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.8607, allocations: 122.7 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.8608, allocations: 342.4 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.8609, allocations: 83.47 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.8614, allocations: 464.9 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.862, allocations: 258 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.862, allocations: 1.156 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005667/0.8626, allocations: 332.2 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8627, allocations: 9.625 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8627, allocations: 4.375 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8627, allocations: 5.328 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.8629, allocations: 37.14 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.8629, allocations: 5.781 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007894/0.8637, allocations: 71.47 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.8637, allocations: 22.97 kB / 1.097 GB, free: 15.77 MB / 0.8731 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.0002446/0.864, allocations: 193 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.864, allocations: 29.06 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.8641, allocations: 34.22 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.8641, allocations: 6.547 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.8641, allocations: 0 / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.8641, allocations: 6.625 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.8645, allocations: 286 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8645, allocations: 0.9688 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.8645, allocations: 10 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8645, allocations: 1.156 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.8645, allocations: 5.219 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.8646, allocations: 3.031 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8646, allocations: 0 / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.8652, allocations: 438.1 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.8653, allocations: 102.6 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.8654, allocations: 7.281 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.8655, allocations: 6.297 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.8655, allocations: 21.17 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.8656, allocations: 16.17 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003584/0.866, allocations: 287.7 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.866, allocations: 0 / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004621/0.8664, allocations: 81.86 kB / 1.099 GB, free: 14.9 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.001185/0.8676, allocations: 1.003 MB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006384/0.8683, allocations: 260.2 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8683, allocations: 0.5625 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.8685, allocations: 144.4 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.8689, allocations: 29.45 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.8731, allocations: 3.261 MB / 1.103 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.8736, allocations: 0.7584 MB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.8737, allocations: 50.89 kB / 1.104 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.8739, allocations: 84.31 kB / 1.104 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.8739, allocations: 0 / 1.104 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.9038, allocations: 7.617 MB / 1.111 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/9.111, allocations: 16.53 kB / 1.111 GB, free: 10.57 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