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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007097/0.007097, allocations: 99.06 kB / 15.73 MB, free: 6.492 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.001952/0.001952, allocations: 198.6 kB / 16.68 MB, free: 6.375 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.504/2.504, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 67.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2478, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001513/0.2494, allocations: 0.678 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.2509, allocations: 1.355 MB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.251, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.2514, allocations: 183.5 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2515, allocations: 103.7 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.2521, allocations: 239.3 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.2526, allocations: 495.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.2526, allocations: 4 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.2528, allocations: 207.6 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.2531, allocations: 207.6 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.2532, allocations: 24 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2534, allocations: 75.95 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.2537, allocations: 263.5 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.2539, allocations: 155.2 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.2543, allocations: 474.6 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2544, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2544, allocations: 7.875 kB / 1.225 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2544, allocations: 0 / 1.225 GB, free: 9.832 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.0008797/0.2553, allocations: 0.6461 MB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.2553, allocations: 8.031 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.2553, allocations: 34.75 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.2554, allocations: 36.78 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.2559, allocations: 384.3 kB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2559, allocations: 12.38 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.256, allocations: 16.38 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.2563, allocations: 196.6 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2563, allocations: 3.938 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2563, allocations: 0 / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2563, allocations: 8 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.2565, allocations: 111.9 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.2569, allocations: 387.1 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.2573, allocations: 315.6 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.2574, allocations: 126.6 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.2575, allocations: 4 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.2578, allocations: 285.5 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2578, allocations: 0 / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0007416/0.2586, allocations: 0.4934 MB / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.2587, allocations: 118.7 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.2591, allocations: 396.5 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.2591, allocations: 41.69 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2592, allocations: 148.8 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.2593, allocations: 51.61 kB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.2595, allocations: 125.5 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2596, allocations: 342.8 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2597, allocations: 83.95 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.2602, allocations: 469.9 kB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.2605, allocations: 253.5 kB / 1.229 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2605, allocations: 0 / 1.229 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004525/0.261, allocations: 337.1 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.261, allocations: 11.94 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.261, allocations: 4 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.261, allocations: 7.984 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2611, allocations: 27.92 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2612, allocations: 8 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/0.2618, allocations: 74.77 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.2619, allocations: 16 kB / 1.23 GB, free: 3.867 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.0001784/0.262, allocations: 192.5 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.2621, allocations: 31.75 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.2621, allocations: 37.89 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2622, allocations: 0 / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2622, allocations: 7.938 kB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2622, allocations: 11.92 kB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.2624, allocations: 273.5 kB / 1.23 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2624, allocations: 11.92 kB / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.2625, allocations: 4 kB / 1.23 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2625, allocations: 7.938 kB / 1.23 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2625, allocations: 4 kB / 1.23 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2625, allocations: 0 / 1.23 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2625, allocations: 0 / 1.23 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.263, allocations: 442.4 kB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.2631, allocations: 104.9 kB / 1.231 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.2631, allocations: 8 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.2632, allocations: 3.984 kB / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.2633, allocations: 15.98 kB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.2633, allocations: 16 kB / 1.231 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002781/0.2636, allocations: 287 kB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2636, allocations: 4 kB / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003172/0.2639, allocations: 83.86 kB / 1.231 GB, free: 2.258 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.0008594/0.2648, allocations: 1.002 MB / 1.232 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.2651, allocations: 251.9 kB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2652, allocations: 0 / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.2653, allocations: 148 kB / 1.233 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.2656, allocations: 31.28 kB / 1.233 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.2689, allocations: 3.256 MB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.2692, allocations: 0.7713 MB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.2694, allocations: 49.94 kB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2695, allocations: 83.41 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.2695, allocations: 0 / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.951/5.221, allocations: 7.635 MB / 1.244 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.16/26.39, allocations: 12.98 kB / 1.244 GB, free: 5.023 MB / 0.9981 GB (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) 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) Reference file matches