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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 65.08 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3408, allocations: 169.9 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001826/0.3426, allocations: 0.6706 MB / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3444, allocations: 1.355 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.3445, allocations: 4 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.345, allocations: 187.5 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3451, allocations: 103.7 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.3458, allocations: 243.6 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.3463, allocations: 491.7 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.3464, allocations: 5.688 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.3466, allocations: 215.6 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.347, allocations: 223.6 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.3471, allocations: 20 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.3473, allocations: 95.91 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.3477, allocations: 267.4 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3479, allocations: 135.4 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.3484, allocations: 482 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3484, allocations: 0 / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3484, allocations: 4 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3484, allocations: 3.938 kB / 1.287 GB, free: 8.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001026/0.3495, allocations: 0.5708 MB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3495, allocations: 8.031 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.3495, allocations: 38.73 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3497, allocations: 36.75 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.3503, allocations: 322.5 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3503, allocations: 12.38 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.3504, allocations: 20.38 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.3507, allocations: 188.6 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3507, allocations: 3.938 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3507, allocations: 11.98 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3508, allocations: 0 / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3509, allocations: 107.9 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.3513, allocations: 294.4 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.3518, allocations: 315.6 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.352, allocations: 122.6 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.352, allocations: 4 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/0.3525, allocations: 289.5 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.3525, allocations: 0 / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008676/0.3534, allocations: 0.4895 MB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.3535, allocations: 114.7 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.354, allocations: 396.5 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.354, allocations: 37.7 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3542, allocations: 160.7 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.3542, allocations: 43.72 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3544, allocations: 113.6 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3546, allocations: 346.8 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3548, allocations: 87.95 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.3558, allocations: 1.085 MB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.3561, allocations: 257.7 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3561, allocations: 0 / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005493/0.3567, allocations: 337 kB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3567, allocations: 11.94 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3567, allocations: 4 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3567, allocations: 4 kB / 1.293 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3569, allocations: 31.92 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3569, allocations: 4 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.3576, allocations: 75.12 kB / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.3576, allocations: 15.98 kB / 1.293 GB, free: 1.555 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.000245/0.3579, allocations: 187.8 kB / 1.293 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.3579, allocations: 35.73 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.358, allocations: 33.89 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.358, allocations: 4 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.358, allocations: 4 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.358, allocations: 4 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.3583, allocations: 224.6 kB / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3583, allocations: 0 / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.3583, allocations: 16.05 kB / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.3583, allocations: 11.94 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3583, allocations: 4 kB / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3583, allocations: 0 / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3583, allocations: 0 / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.3589, allocations: 434.3 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.359, allocations: 35.73 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.359, allocations: 4 kB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.3591, allocations: 11.98 kB / 1.294 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3592, allocations: 11.98 kB / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.3592, allocations: 15.98 kB / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003245/0.3595, allocations: 291 kB / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003687/0.3599, allocations: 71.94 kB / 1.294 GB, free: 112 kB / 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.00108/0.361, allocations: 1.004 MB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.3614, allocations: 253.6 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3614, allocations: 3.938 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.3616, allocations: 127.8 kB / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3619, allocations: 20.66 kB / 1.295 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.3661, allocations: 3.274 MB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.3662, allocations: 153.2 kB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.3664, allocations: 59.47 kB / 1.299 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3665, allocations: 79.41 kB / 1.299 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.3665, allocations: 0 / 1.299 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/0.4112, allocations: 8.659 MB / 1.307 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.01, allocations: 4 kB / 1.307 GB, free: 2.531 MB / 0.9981 GB " [Timeout remaining time 287] (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 --stepSize=0.006 --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: 18.748512105084956]