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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001337/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002385/0.002385, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 65.03 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3792, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002232/0.3815, allocations: 0.7388 MB / 1.053 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3834, allocations: 1.361 MB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.3834, allocations: 4 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.384, allocations: 183.6 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.3841, allocations: 99.78 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.3847, allocations: 206.9 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.3851, allocations: 439.7 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.3852, allocations: 11.92 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.3854, allocations: 187.6 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.3857, allocations: 199.6 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.7e-05/0.3858, allocations: 19.98 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.386, allocations: 67.89 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.3863, allocations: 235.5 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3865, allocations: 139.3 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.387, allocations: 467 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.387, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.11e-07/0.387, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.387, allocations: 0 / 1.056 GB, free: 4.484 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.001026/0.3881, allocations: 0.6384 MB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3881, allocations: 12.03 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.3883, allocations: 28.66 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.3888, allocations: 384.1 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3888, allocations: 12.38 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.3889, allocations: 16.38 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.3892, allocations: 196.6 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3892, allocations: 192 / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.3893, allocations: 11.92 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3893, allocations: 0 / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3895, allocations: 111.9 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.3899, allocations: 383.1 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.3903, allocations: 315.6 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.3905, allocations: 130.6 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.3905, allocations: 0 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.391, allocations: 278.4 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.391, allocations: 0 / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0008937/0.3919, allocations: 0.4931 MB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.392, allocations: 126.7 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.3924, allocations: 396.5 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/0.3925, allocations: 37.7 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3927, allocations: 156.7 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.3927, allocations: 43.44 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.3929, allocations: 113.6 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3931, allocations: 350.8 kB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3932, allocations: 79.95 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.3938, allocations: 467.5 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.3941, allocations: 257.5 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3941, allocations: 4 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004796/0.3946, allocations: 337 kB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3946, allocations: 4 kB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3946, allocations: 8.609 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3946, allocations: 8 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3948, allocations: 27.92 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3948, allocations: 7.984 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/0.3956, allocations: 68.45 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.3956, allocations: 12 kB / 1.062 GB, free: 14.6 MB / 0.8262 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.0002395/0.3959, allocations: 192.6 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.3959, allocations: 31.56 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.396, allocations: 37.89 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.396, allocations: 11.94 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.396, allocations: 3.938 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.396, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.3963, allocations: 281.5 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3964, allocations: 4 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.3964, allocations: 15.92 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3964, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3964, allocations: 4 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3964, allocations: 4 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3964, allocations: 0 / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.397, allocations: 435.9 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/0.3971, allocations: 108.8 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.3971, allocations: 4 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.3972, allocations: 4 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.3973, allocations: 19.95 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.3973, allocations: 16 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003122/0.3977, allocations: 291 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3977, allocations: 0 / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004011/0.3981, allocations: 79.98 kB / 1.063 GB, free: 12.99 MB / 0.8262 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.0002569/0.3983, allocations: 140.3 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.3988, allocations: 252.4 kB / 1.063 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3988, allocations: 0 / 1.063 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.399, allocations: 155.8 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3993, allocations: 28.58 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/0.4003, allocations: 0.6128 MB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4006, allocations: 0.7599 MB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.4008, allocations: 53.92 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.4008, allocations: 31.42 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4008, allocations: 0 / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.009238/0.4101, allocations: 4.803 MB / 1.07 GB, free: 6.145 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 -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/jenkins/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