Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable,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.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,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.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 107 kB / 16.27 MB, free: 6.41 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.001894/0.001894, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.509/2.509, allocations: 437 MB / 0.711 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 60.41 kB / 0.8699 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.274, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001832/0.2759, allocations: 0.6857 MB / 1.019 GB, free: 9.984 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2776, allocations: 1.344 MB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.2777, allocations: 3.938 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.2782, allocations: 191.6 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.2783, allocations: 111.7 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.279, allocations: 220.3 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004856/0.2795, allocations: 479.7 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.2795, allocations: 19.97 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.2798, allocations: 203.7 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.2801, allocations: 203.6 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.2802, allocations: 20 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.2804, allocations: 79.89 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.2808, allocations: 259.5 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.281, allocations: 151.3 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.2815, allocations: 479 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2815, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2815, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2815, allocations: 0 / 1.022 GB, free: 6.258 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.0009393/0.2824, allocations: 0.6383 MB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2825, allocations: 12.92 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.2826, allocations: 28.66 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.2831, allocations: 384.1 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.2831, allocations: 12.38 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.2832, allocations: 28.3 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2835, allocations: 180.7 kB / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2835, allocations: 192 / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2835, allocations: 7.938 kB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2835, allocations: 0 / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.2837, allocations: 115.9 kB / 1.024 GB, free: 4.762 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.2841, allocations: 387.1 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.2845, allocations: 315.6 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.2847, allocations: 122.6 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.2847, allocations: 4 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.2851, allocations: 284 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.2851, allocations: 4 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0007599/0.2859, allocations: 0.4931 MB / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.286, allocations: 118.8 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.2864, allocations: 396.5 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/0.2864, allocations: 37.7 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2866, allocations: 160.7 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.2866, allocations: 43.41 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.2868, allocations: 121.6 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2869, allocations: 342.8 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.287, allocations: 83.94 kB / 1.026 GB, free: 1.723 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.2875, allocations: 468 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.2878, allocations: 253.5 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2878, allocations: 0 / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004715/0.2883, allocations: 345.3 kB / 1.027 GB, free: 0.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2883, allocations: 4 kB / 1.027 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2883, allocations: 4 kB / 1.027 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2883, allocations: 4 kB / 1.027 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2885, allocations: 35.92 kB / 1.027 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2885, allocations: 4 kB / 1.027 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.2892, allocations: 56.61 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2892, allocations: 24.11 kB / 1.028 GB, free: 380 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.0001874/0.2894, allocations: 195.9 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.2895, allocations: 35.55 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.2895, allocations: 33.89 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2895, allocations: 0 / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2896, allocations: 4 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2896, allocations: 0 / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.2898, allocations: 293.5 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2898, allocations: 0 / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.2899, allocations: 7.938 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2899, allocations: 3.938 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2899, allocations: 7.984 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2899, allocations: 0 / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2899, allocations: 7.938 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.2904, allocations: 434.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.2905, allocations: 104.8 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.2905, allocations: 7.984 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.2906, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.2907, allocations: 15.98 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.2907, allocations: 15.98 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002813/0.291, allocations: 287 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.291, allocations: 0 / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003504/0.2913, allocations: 80 kB / 1.029 GB, free: 14.76 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.0002079/0.2916, allocations: 139.7 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.292, allocations: 271.7 kB / 1.029 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.292, allocations: 0.8125 kB / 1.029 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.2922, allocations: 175.9 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.2925, allocations: 30.95 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2935, allocations: 0.6019 MB / 1.03 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.2939, allocations: 0.7675 MB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.294, allocations: 31.42 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.294, allocations: 0 / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of Templates: time 0.005835/0.2998, allocations: 4.285 MB / 1.035 GB, free: 8.469 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches