Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001509/0.001509, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001758/0.001759, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 62.83 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3263, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002103/0.3285, allocations: 0.68 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3303, allocations: 1.348 MB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.3304, allocations: 4 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.331, allocations: 195.7 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.3311, allocations: 107.7 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000823/0.332, allocations: 230.2 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.3326, allocations: 495.7 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.3327, allocations: 4 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.3331, allocations: 211.6 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.3335, allocations: 211.5 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.3336, allocations: 20 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.3339, allocations: 79.94 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003882/0.3343, allocations: 255.5 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.3345, allocations: 147.3 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.3351, allocations: 478.5 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3351, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3352, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.3352, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 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.001208/0.3364, allocations: 0.6346 MB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3364, allocations: 8.031 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.3366, allocations: 32.64 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006625/0.3373, allocations: 388 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3373, allocations: 16.38 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.3374, allocations: 16.38 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3377, allocations: 196.6 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3377, allocations: 192 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3377, allocations: 3.938 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3377, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3379, allocations: 115.9 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.3383, allocations: 387.1 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.3388, allocations: 311.6 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.3389, allocations: 134.6 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.3389, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.3393, allocations: 281.5 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.3394, allocations: 0 / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0008075/0.3402, allocations: 0.4971 MB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.3402, allocations: 122.8 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.3407, allocations: 392.5 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.3407, allocations: 45.62 kB / 1.035 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3409, allocations: 152.8 kB / 1.035 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.3409, allocations: 43.45 kB / 1.035 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.3411, allocations: 113.6 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3412, allocations: 346.8 kB / 1.035 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3413, allocations: 83.95 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.3418, allocations: 464 kB / 1.036 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3421, allocations: 257.5 kB / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.3421, allocations: 0 / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004965/0.3426, allocations: 332.8 kB / 1.036 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3427, allocations: 11.94 kB / 1.036 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3427, allocations: 4 kB / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3427, allocations: 4 kB / 1.036 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3429, allocations: 31.91 kB / 1.036 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3429, allocations: 4.406 kB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.3436, allocations: 76.61 kB / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3437, allocations: 12 kB / 1.036 GB, free: 7.73 MB / 0.8106 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.0002135/0.3439, allocations: 200.1 kB / 1.037 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.3439, allocations: 31.56 kB / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.344, allocations: 41.89 kB / 1.037 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.344, allocations: 4 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.344, allocations: 0 / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.344, allocations: 3.984 kB / 1.037 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.3443, allocations: 277.5 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3443, allocations: 0 / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.3443, allocations: 19.86 kB / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3443, allocations: 3.938 kB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3443, allocations: 4 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3444, allocations: 4 kB / 1.037 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3444, allocations: 4 kB / 1.037 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.3449, allocations: 444.7 kB / 1.037 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.345, allocations: 96.83 kB / 1.037 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.3451, allocations: 7.938 kB / 1.037 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.531e-05/0.3452, allocations: 7.984 kB / 1.037 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.3452, allocations: 19.98 kB / 1.037 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.3452, allocations: 12 kB / 1.037 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002904/0.3455, allocations: 291 kB / 1.038 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3455, allocations: 0 / 1.038 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000393/0.3459, allocations: 79.98 kB / 1.038 GB, free: 6.109 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.0002189/0.3462, allocations: 135.1 kB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.3466, allocations: 263.9 kB / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3466, allocations: 0 / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3468, allocations: 143.9 kB / 1.038 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3471, allocations: 28.58 kB / 1.038 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.348, allocations: 0.5657 MB / 1.039 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3483, allocations: 0.7636 MB / 1.04 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.3484, allocations: 41.95 kB / 1.04 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.3485, allocations: 35.42 kB / 1.04 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3485, allocations: 0 / 1.04 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of Templates: time 0.009677/0.3582, allocations: 4.994 MB / 1.045 GB, free: 15.12 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches