Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 103.2 kB / 16.27 MB, free: 5.965 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.001895/0.001895, allocations: 191 kB / 17.2 MB, free: 5.59 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437 MB / 0.711 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.38 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2686, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002339/0.271, allocations: 0.6935 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2731, allocations: 1.336 MB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.2732, allocations: 4 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.2737, allocations: 187.5 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.2739, allocations: 107.7 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009659/0.2749, allocations: 227.9 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.2755, allocations: 475.7 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.2756, allocations: 15.97 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.2759, allocations: 199.7 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.2763, allocations: 219.5 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.2765, allocations: 24 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.2767, allocations: 71.95 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.2771, allocations: 255.5 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.2774, allocations: 155.3 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.278, allocations: 467 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.278, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/0.278, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.2781, allocations: 7.984 kB / 1.022 GB, free: 6.184 MB / 0.795 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.001158/0.2792, allocations: 0.6422 MB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2793, allocations: 12.88 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.2795, allocations: 28.66 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.28, allocations: 388.1 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.2801, allocations: 12.38 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.2802, allocations: 20.38 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.2806, allocations: 192.7 kB / 1.024 GB, free: 4.797 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2806, allocations: 4.188 kB / 1.024 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2806, allocations: 3.938 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2806, allocations: 4 kB / 1.024 GB, free: 4.785 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2808, allocations: 111.9 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.2813, allocations: 379.1 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.2817, allocations: 315.6 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.2819, allocations: 126.6 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.282, allocations: 3.938 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.2824, allocations: 280.6 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.2824, allocations: 0 / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0008626/0.2833, allocations: 0.5048 MB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.2834, allocations: 110.8 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.2838, allocations: 400.5 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.2839, allocations: 37.7 kB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.2841, allocations: 160.7 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.2842, allocations: 43.41 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.2844, allocations: 117.5 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002942/0.2847, allocations: 342.8 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2848, allocations: 91.95 kB / 1.026 GB, free: 1.637 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000733/0.2856, allocations: 468 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.2859, allocations: 257.6 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.286, allocations: 4 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006142/0.2866, allocations: 324.8 kB / 1.027 GB, free: 436 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2866, allocations: 11.98 kB / 1.027 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2866, allocations: 4 kB / 1.027 GB, free: 420 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2866, allocations: 4.406 kB / 1.027 GB, free: 416 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2868, allocations: 31.92 kB / 1.027 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2868, allocations: 7.938 kB / 1.027 GB, free: 376 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/0.2876, allocations: 64.67 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.2876, allocations: 11.94 kB / 1.028 GB, free: 300 kB / 0.795 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.0002177/0.2879, allocations: 199.9 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.2879, allocations: 35.56 kB / 1.028 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.288, allocations: 29.89 kB / 1.028 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.288, allocations: 7.984 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.288, allocations: 0 / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.288, allocations: 4 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.2883, allocations: 285.5 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2884, allocations: 0 / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.2884, allocations: 7.938 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2884, allocations: 4 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2884, allocations: 12 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2884, allocations: 11.86 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2884, allocations: 0 / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.2891, allocations: 434.3 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.2892, allocations: 100.8 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.2892, allocations: 7.984 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2893, allocations: 8 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.2895, allocations: 15.98 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2895, allocations: 8 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003181/0.2899, allocations: 295 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2899, allocations: 3.938 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003925/0.2903, allocations: 79.98 kB / 1.029 GB, free: 14.67 MB / 0.8106 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.0002312/0.2905, allocations: 131.8 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.291, allocations: 271.8 kB / 1.029 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.291, allocations: 0 / 1.029 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.2913, allocations: 179.8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.2916, allocations: 28.58 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009935/0.2926, allocations: 0.6017 MB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.293, allocations: 0.7675 MB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.2931, allocations: 35.42 kB / 1.031 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2931, allocations: 0 / 1.031 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.00747/0.3006, allocations: 4.302 MB / 1.035 GB, free: 8.371 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time