Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00136/0.00136, allocations: 103 kB / 16.45 MB, free: 6.449 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.001431/0.001431, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.311/3.311, allocations: 0.49 GB / 0.7916 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002133/0.002133, allocations: 66.45 kB / 1.149 GB, free: 26.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3646, allocations: 176.1 MB / 1.321 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002067/0.3667, allocations: 0.6906 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3688, allocations: 1.373 MB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.3689, allocations: 8 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.3694, allocations: 191.5 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.3696, allocations: 95.72 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.3705, allocations: 234.8 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007475/0.3713, allocations: 0.4957 MB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.059e-05/0.3713, allocations: 8 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.3717, allocations: 203.7 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.3722, allocations: 223.6 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.3723, allocations: 20 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.3726, allocations: 91.88 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.373, allocations: 267.4 kB / 1.325 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.3732, allocations: 147.3 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.3738, allocations: 482.7 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3738, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3738, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.3738, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 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.001236/0.3751, allocations: 0.6423 MB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.3751, allocations: 15.98 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.3752, allocations: 38.67 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.3753, allocations: 32.75 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.3759, allocations: 380.3 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.376, allocations: 20.31 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.376, allocations: 28.36 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.3764, allocations: 184.7 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3764, allocations: 3.938 kB / 1.327 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.3764, allocations: 3.938 kB / 1.327 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3764, allocations: 0 / 1.327 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.3766, allocations: 111.9 kB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.3771, allocations: 387 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.3776, allocations: 315.6 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.3778, allocations: 126.5 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3778, allocations: 4 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.3783, allocations: 289.5 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.3783, allocations: 4 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009565/0.3793, allocations: 0.4934 MB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.3794, allocations: 110.8 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.3799, allocations: 404.5 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.293e-05/0.38, allocations: 37.7 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3802, allocations: 152.8 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.3802, allocations: 39.75 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.3804, allocations: 117.5 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3806, allocations: 346.8 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3808, allocations: 83.95 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.3814, allocations: 470.8 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.3818, allocations: 261.4 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.3818, allocations: 0 / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005813/0.3823, allocations: 321.1 kB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3824, allocations: 13.81 kB / 1.33 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3824, allocations: 4.406 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3824, allocations: 8 kB / 1.33 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.3826, allocations: 31.92 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3826, allocations: 7.938 kB / 1.33 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.3834, allocations: 72.31 kB / 1.331 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.3835, allocations: 15.98 kB / 1.331 GB, free: 8.992 MB / 1.029 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.0002644/0.3837, allocations: 192 kB / 1.331 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.3838, allocations: 39.73 kB / 1.331 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.3839, allocations: 29.89 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3839, allocations: 4 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3839, allocations: 128 / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3839, allocations: 4 kB / 1.331 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.3842, allocations: 285.5 kB / 1.331 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3842, allocations: 0 / 1.331 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.3842, allocations: 4 kB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.3842, allocations: 11.94 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.3843, allocations: 7.984 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3843, allocations: 3.938 kB / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3843, allocations: 3.938 kB / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.3849, allocations: 426.6 kB / 1.332 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.385, allocations: 108.8 kB / 1.332 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.385, allocations: 7.984 kB / 1.332 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.3851, allocations: 8 kB / 1.332 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.3852, allocations: 16.22 kB / 1.332 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3852, allocations: 11.98 kB / 1.332 GB, free: 7.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003442/0.3856, allocations: 295 kB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3856, allocations: 0 / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004151/0.386, allocations: 75.94 kB / 1.332 GB, free: 7.391 MB / 1.029 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.001125/0.3871, allocations: 1.021 MB / 1.333 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004955/0.3876, allocations: 252.4 kB / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3876, allocations: 0 / 1.333 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.3878, allocations: 123.9 kB / 1.333 GB, free: 5.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.3881, allocations: 20.66 kB / 1.333 GB, free: 5.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.3926, allocations: 3.265 MB / 1.337 GB, free: 2.488 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.393, allocations: 0.7597 MB / 1.337 GB, free: 1.703 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00014/0.3932, allocations: 53.81 kB / 1.337 GB, free: 1.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3933, allocations: 83.41 kB / 1.337 GB, free: 1.57 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3933, allocations: 0 / 1.337 GB, free: 1.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.4282, allocations: 7.663 MB / 1.345 GB, free: 10.15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/8.921, allocations: 0 / 1.345 GB, free: 10.15 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.762471460970119]