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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007222/0.007222, allocations: 102.9 kB / 15.73 MB, free: 6.031 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.001694/0.001694, allocations: 199 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.934/2.934, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3262, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002032/0.3282, allocations: 0.6762 MB / 1.208 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3303, allocations: 1.35 MB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.3304, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.3309, allocations: 183.5 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.3311, allocations: 107.7 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008438/0.332, allocations: 230.9 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.3326, allocations: 0.4918 MB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.3326, allocations: 15.98 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.333, allocations: 199.7 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.3334, allocations: 207.6 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.3335, allocations: 20 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3337, allocations: 87.94 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.3341, allocations: 259.5 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.3343, allocations: 151.2 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.3348, allocations: 475 kB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3348, allocations: 0 / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3349, allocations: 0 / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.3349, allocations: 0 / 1.212 GB, free: 5.691 MB / 0.9669 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.00113/0.336, allocations: 0.6461 MB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3361, allocations: 8.625 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.3361, allocations: 38.73 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.3363, allocations: 28.66 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.3369, allocations: 380 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3369, allocations: 12.38 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.337, allocations: 24.38 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.3373, allocations: 196.6 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3373, allocations: 3.938 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3374, allocations: 0 / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3374, allocations: 0 / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.3376, allocations: 111.9 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.338, allocations: 379.2 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.3385, allocations: 311.6 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3387, allocations: 130.5 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.3387, allocations: 0 / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/0.3391, allocations: 295.1 kB / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/0.3391, allocations: 0 / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0008376/0.34, allocations: 0.4899 MB / 1.215 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.34, allocations: 114.8 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.3405, allocations: 400.4 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/0.3406, allocations: 41.7 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3407, allocations: 152.8 kB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.3408, allocations: 43.48 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.341, allocations: 113.6 kB / 1.215 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3411, allocations: 342.8 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3412, allocations: 87.95 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.3418, allocations: 472.6 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.3421, allocations: 253.7 kB / 1.216 GB, free: 236 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3421, allocations: 0 / 1.216 GB, free: 236 kB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005234/0.3426, allocations: 337 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3427, allocations: 15.92 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3427, allocations: 160 / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3427, allocations: 8 kB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3429, allocations: 32.27 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3429, allocations: 11.98 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.3436, allocations: 63.83 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3437, allocations: 8 kB / 1.217 GB, free: 15.75 MB / 0.9825 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.0002061/0.3439, allocations: 195.9 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.344, allocations: 35.56 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.344, allocations: 37.83 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.344, allocations: 7.984 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.344, allocations: 0 / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.344, allocations: 0 / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.3443, allocations: 285.4 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3443, allocations: 0 / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.3443, allocations: 7.938 kB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3444, allocations: 7.875 kB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.3444, allocations: 8 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3444, allocations: 12.05 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3444, allocations: 4 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.345, allocations: 427.9 kB / 1.218 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.345, allocations: 100.8 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.3451, allocations: 7.984 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.215e-05/0.3452, allocations: 4 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.3453, allocations: 23.92 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.3453, allocations: 8 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003173/0.3456, allocations: 295 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3456, allocations: 0 / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004238/0.346, allocations: 79.92 kB / 1.218 GB, free: 14.15 MB / 0.9825 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.0009439/0.347, allocations: 1.011 MB / 1.219 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.3475, allocations: 251.7 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3475, allocations: 0.8125 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.3477, allocations: 143.9 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.348, allocations: 30.7 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.3518, allocations: 3.253 MB / 1.223 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3522, allocations: 0.7636 MB / 1.224 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.3523, allocations: 52.66 kB / 1.224 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3525, allocations: 87.34 kB / 1.224 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3525, allocations: 4 kB / 1.224 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.3782, allocations: 7.775 MB / 1.231 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.429, allocations: 10.48 kB / 1.231 GB, free: 0.7969 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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