Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008054/0.008054, allocations: 100 kB / 15.73 MB, free: 6.055 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.002124/0.002124, allocations: 190.3 kB / 16.67 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.435/1.435, 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-maint.11.x/package.mo): time 2.729/2.729, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.8198, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001737/0.8216, allocations: 0.6742 MB / 1.221 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.8233, allocations: 1.353 MB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.8234, allocations: 4 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.8239, allocations: 183.7 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.8241, allocations: 107.7 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.8248, allocations: 229.8 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006175/0.8254, allocations: 499.7 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.8255, allocations: 8 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.8257, allocations: 207.6 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.8261, allocations: 207.6 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.152e-05/0.8262, allocations: 20 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.8264, allocations: 79.95 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003808/0.8268, allocations: 256.4 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.827, allocations: 155.3 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.8276, allocations: 478 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8276, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8276, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.8276, allocations: 0 / 1.224 GB, free: 13.65 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.001035/0.8286, allocations: 0.6461 MB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.8287, allocations: 8.031 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.8287, allocations: 34.73 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.8289, allocations: 40.73 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.8294, allocations: 388.3 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.8294, allocations: 12.36 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.8295, allocations: 24.36 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.8298, allocations: 192.6 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8298, allocations: 3.938 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.8298, allocations: 4 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8299, allocations: 0 / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.83, allocations: 115.9 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.8305, allocations: 383.1 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.831, allocations: 319.6 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.8312, allocations: 122.6 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.8312, allocations: 4 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004411/0.8316, allocations: 279.5 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.8316, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0008469/0.8325, allocations: 0.4973 MB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.8326, allocations: 118.7 kB / 1.228 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.8331, allocations: 396.5 kB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.8331, allocations: 41.7 kB / 1.228 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.8333, allocations: 152.8 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.8333, allocations: 43.69 kB / 1.228 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.8335, allocations: 117.5 kB / 1.228 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8337, allocations: 346.8 kB / 1.229 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.8338, allocations: 91.89 kB / 1.229 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.8344, allocations: 463.5 kB / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.8348, allocations: 253.5 kB / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.8348, allocations: 0 / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005535/0.8353, allocations: 337.2 kB / 1.23 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.8354, allocations: 11.94 kB / 1.23 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8354, allocations: 4 kB / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.8354, allocations: 4 kB / 1.23 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.8356, allocations: 27.92 kB / 1.23 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.8356, allocations: 11.94 kB / 1.23 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.8364, allocations: 64.72 kB / 1.23 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.8364, allocations: 15.98 kB / 1.23 GB, free: 7.691 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.0002323/0.8366, allocations: 197 kB / 1.23 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.8367, allocations: 31.75 kB / 1.23 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.8368, allocations: 41.88 kB / 1.23 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8368, allocations: 0 / 1.23 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.8368, allocations: 4 kB / 1.23 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8368, allocations: 7.938 kB / 1.23 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.8371, allocations: 281.5 kB / 1.23 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.8371, allocations: 4 kB / 1.23 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.8372, allocations: 8 kB / 1.23 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.8372, allocations: 3.938 kB / 1.23 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.8372, allocations: 12.05 kB / 1.23 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.8372, allocations: 7.984 kB / 1.23 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8372, allocations: 4 kB / 1.23 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.8378, allocations: 434.4 kB / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.8379, allocations: 108.8 kB / 1.231 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.8379, allocations: 11.98 kB / 1.231 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.838, allocations: 0 / 1.231 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.8381, allocations: 15.98 kB / 1.231 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.8381, allocations: 19.98 kB / 1.231 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003196/0.8385, allocations: 287 kB / 1.231 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8385, allocations: 4 kB / 1.231 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003908/0.8389, allocations: 79.88 kB / 1.231 GB, free: 6.066 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.001002/0.8399, allocations: 1 MB / 1.232 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.8403, allocations: 267.7 kB / 1.233 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8403, allocations: 0 / 1.233 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.8405, allocations: 143.9 kB / 1.233 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.8408, allocations: 24.64 kB / 1.233 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.8446, allocations: 3.253 MB / 1.236 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.845, allocations: 0.7597 MB / 1.237 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.8451, allocations: 49.94 kB / 1.237 GB, free: 340 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.8453, allocations: 87.41 kB / 1.237 GB, free: 252 kB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.8453, allocations: 0 / 1.237 GB, free: 252 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.8759, allocations: 7.642 MB / 1.244 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.233, allocations: 12.17 kB / 1.244 GB, free: 8.836 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches