Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_11_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_11_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.001593/0.001593, allocations: 108.6 kB / 15.73 MB, free: 76 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.001543/0.001543, allocations: 191 kB / 16.66 MB, free: 6.59 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.416/1.416, 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 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.12 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001948/0.28, allocations: 0.853 MB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.2819, allocations: 1.459 MB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.282, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.2825, allocations: 195.5 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.2827, allocations: 115.6 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2837, allocations: 366.3 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2848, allocations: 0.8815 MB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.285, allocations: 88.25 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003724/0.2853, allocations: 351.4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.2857, allocations: 263.3 kB / 1.225 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.2859, allocations: 48 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.2862, allocations: 107.9 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004682/0.2867, allocations: 343.3 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.287, allocations: 274.8 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009427/0.288, allocations: 0.9151 MB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.288, allocations: 0 / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.288, allocations: 0 / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.288, allocations: 0 / 1.226 GB, free: 8.082 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.00158/0.2896, allocations: 0.9072 MB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2896, allocations: 12.03 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.2897, allocations: 42.73 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.2899, allocations: 56.66 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/0.2907, allocations: 0.5412 MB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.2907, allocations: 28.59 kB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.2908, allocations: 36.38 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.2913, allocations: 310.9 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2913, allocations: 11.92 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2914, allocations: 0 / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2914, allocations: 4 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.2917, allocations: 219.8 kB / 1.228 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.2936, allocations: 1.184 MB / 1.229 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.2943, allocations: 467.7 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.2946, allocations: 182.6 kB / 1.23 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.2946, allocations: 11.98 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.2951, allocations: 335.8 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.2951, allocations: 8 kB / 1.23 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001073/0.2962, allocations: 0.6259 MB / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.2963, allocations: 114.8 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/0.297, allocations: 0.5955 MB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.2971, allocations: 45.7 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.2974, allocations: 217.5 kB / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.2974, allocations: 51.62 kB / 1.232 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.2977, allocations: 185.5 kB / 1.232 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2979, allocations: 367.5 kB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2981, allocations: 127.8 kB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.299, allocations: 0.7067 MB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.2994, allocations: 304.6 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.2994, allocations: 4 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006936/0.3001, allocations: 417 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3001, allocations: 7.984 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3001, allocations: 4 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3002, allocations: 11.88 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3003, allocations: 35.92 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3003, allocations: 4 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.3017, allocations: 140.1 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3017, allocations: 19.94 kB / 1.234 GB, free: 15.3 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.0003013/0.302, allocations: 260.2 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.3021, allocations: 39.72 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-05/0.3022, allocations: 59.34 kB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.3022, allocations: 7.938 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3022, allocations: 0 / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3022, allocations: 0 / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.3027, allocations: 409.3 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3027, allocations: 4 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.3027, allocations: 4 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3027, allocations: 4 kB / 1.235 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.3027, allocations: 7.984 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3028, allocations: 8.125 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3028, allocations: 4 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.3035, allocations: 0.5139 MB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3036, allocations: 120.9 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.3037, allocations: 12 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.3038, allocations: 15.92 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.3039, allocations: 39.89 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.304, allocations: 8 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005302/0.3045, allocations: 435.1 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3045, allocations: 0 / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004434/0.305, allocations: 119.8 kB / 1.236 GB, free: 13.16 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.001137/0.3061, allocations: 1.106 MB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005727/0.3067, allocations: 360 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3067, allocations: 0 / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.307, allocations: 195.9 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3073, allocations: 33.97 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.3127, allocations: 4.42 MB / 1.242 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.3132, allocations: 0.8311 MB / 1.243 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.3134, allocations: 94.92 kB / 1.243 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.3136, allocations: 135.4 kB / 1.243 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.3136, allocations: 0 / 1.243 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5218/0.8355, allocations: 11.58 MB / 1.255 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/9.119, allocations: 1.547 kB / 1.255 GB, free: 30.07 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches