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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 249.3 MB, free: 3.363 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.524/2.524, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 71.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7682/0.7701, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001585/0.7717, allocations: 0.7027 MB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.773, allocations: 1.35 MB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.7731, allocations: 1.5 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.7735, allocations: 192.9 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.7736, allocations: 104.4 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.7742, allocations: 233.6 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.7747, allocations: 498 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.7747, allocations: 2.281 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.7749, allocations: 204.6 kB / 1.275 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.7752, allocations: 230.8 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.7753, allocations: 21.06 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.7755, allocations: 87.14 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.7758, allocations: 273.1 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.776, allocations: 151 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.7764, allocations: 488.9 kB / 1.276 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.7764, allocations: 0 / 1.276 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7765, allocations: 0 / 1.276 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7765, allocations: 1.031 kB / 1.276 GB, free: 5.531 MB / 0.9981 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.0007842/0.7772, allocations: 0.6437 MB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.7773, allocations: 8.812 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.7773, allocations: 38.02 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.7774, allocations: 34.39 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.7778, allocations: 378.5 kB / 1.277 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.7778, allocations: 15.03 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/0.7779, allocations: 20.31 kB / 1.277 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.7781, allocations: 194.5 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7781, allocations: 3.938 kB / 1.277 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.7781, allocations: 5.766 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.7782, allocations: 1.781 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.7783, allocations: 113.8 kB / 1.277 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.7787, allocations: 382.2 kB / 1.278 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.7791, allocations: 321.3 kB / 1.278 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.7792, allocations: 126.8 kB / 1.278 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-06/0.7792, allocations: 1.125 kB / 1.278 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.7796, allocations: 284.3 kB / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.7796, allocations: 0 / 1.278 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0007933/0.7804, allocations: 0.498 MB / 1.279 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.7804, allocations: 119.2 kB / 1.279 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.7808, allocations: 396.8 kB / 1.279 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.7809, allocations: 39.75 kB / 1.279 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.781, allocations: 154.5 kB / 1.279 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.781, allocations: 45.75 kB / 1.279 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.7811, allocations: 123.5 kB / 1.28 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.7812, allocations: 342.7 kB / 1.28 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.7813, allocations: 86.33 kB / 1.28 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.7817, allocations: 465.8 kB / 1.28 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.7819, allocations: 253.2 kB / 1.281 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7819, allocations: 1.656 kB / 1.281 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004131/0.7823, allocations: 333.5 kB / 1.281 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7823, allocations: 9.766 kB / 1.281 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7823, allocations: 3.938 kB / 1.281 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7823, allocations: 4.969 kB / 1.281 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.7825, allocations: 29.97 kB / 1.281 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.7825, allocations: 10.08 kB / 1.281 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.7832, allocations: 72.62 kB / 1.281 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.7832, allocations: 19.97 kB / 1.281 GB, free: 2.184 MB / 0.9981 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.0001504/0.7833, allocations: 189.1 kB / 1.281 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.7834, allocations: 41.19 kB / 1.281 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.7834, allocations: 33.81 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7834, allocations: 2.781 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.7834, allocations: 2 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7834, allocations: 1.453 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.7836, allocations: 286.6 kB / 1.282 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7836, allocations: 1.531 kB / 1.282 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.7836, allocations: 8.078 kB / 1.282 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7837, allocations: 5.062 kB / 1.282 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.7837, allocations: 6.641 kB / 1.282 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.7837, allocations: 7.734 kB / 1.282 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7837, allocations: 0 / 1.282 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.7841, allocations: 433.5 kB / 1.282 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.7842, allocations: 103.7 kB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.7842, allocations: 7.594 kB / 1.282 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.7843, allocations: 3.703 kB / 1.282 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.7843, allocations: 24.36 kB / 1.282 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.7843, allocations: 12.02 kB / 1.282 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002437/0.7846, allocations: 288.9 kB / 1.283 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7846, allocations: 3.938 kB / 1.283 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003502/0.7849, allocations: 79.94 kB / 1.283 GB, free: 1.316 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: 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.0006657/0.7856, allocations: 1.005 MB / 1.284 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.786, allocations: 253.6 kB / 1.284 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.786, allocations: 2 kB / 1.284 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.7861, allocations: 119.9 kB / 1.284 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.7864, allocations: 29.47 kB / 1.284 GB, free: 496 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.7896, allocations: 3.263 MB / 1.287 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.79, allocations: 0.7743 MB / 1.288 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.7901, allocations: 46 kB / 1.288 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.7902, allocations: 85.23 kB / 1.288 GB, free: 13.75 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.7902, allocations: 0 / 1.288 GB, free: 13.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.8204, allocations: 7.638 MB / 1.295 GB, free: 12.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/8.033, allocations: 1.094 kB / 1.295 GB, free: 12.98 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.405370219999895]