Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00775/0.00775, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001828/0.001829, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.598/2.598, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.16 kB / 0.9509 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3492, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00231/0.3515, allocations: 0.8605 MB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.3539, allocations: 1.453 MB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.3541, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.3547, allocations: 199.4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.3548, allocations: 115.6 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3559, allocations: 357.1 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008509/0.3567, allocations: 0.8854 MB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.3569, allocations: 92.25 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.3573, allocations: 347.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.3576, allocations: 267.2 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.3578, allocations: 44 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.358, allocations: 99.95 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.3584, allocations: 343.3 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.3588, allocations: 278.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008177/0.3596, allocations: 0.9154 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3596, allocations: 4 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3596, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.3596, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001443/0.3611, allocations: 0.8841 MB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3611, allocations: 11.97 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.3613, allocations: 52.38 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/0.3621, allocations: 0.5409 MB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3621, allocations: 28.61 kB / 1.096 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.3622, allocations: 36.38 kB / 1.096 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.3627, allocations: 309.8 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3627, allocations: 7.984 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.3628, allocations: 7.984 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3628, allocations: 4 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.3631, allocations: 215.8 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.3648, allocations: 1.18 MB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.3655, allocations: 471.8 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.3657, allocations: 182.6 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3657, allocations: 7.938 kB / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.3661, allocations: 322.7 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.3662, allocations: 4 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001012/0.3672, allocations: 0.6296 MB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.3673, allocations: 114.8 kB / 1.099 GB, free: 6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.3679, allocations: 0.5954 MB / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.368, allocations: 53.62 kB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3682, allocations: 217.5 kB / 1.1 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.3682, allocations: 52.16 kB / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.3685, allocations: 185.5 kB / 1.1 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3687, allocations: 358.8 kB / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3689, allocations: 123.9 kB / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/0.3697, allocations: 0.7137 MB / 1.101 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.37, allocations: 296.6 kB / 1.101 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.37, allocations: 8 kB / 1.101 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006413/0.3707, allocations: 412.8 kB / 1.102 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3707, allocations: 7.938 kB / 1.102 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3707, allocations: 7.938 kB / 1.102 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3707, allocations: 4 kB / 1.102 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3709, allocations: 36.3 kB / 1.102 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3709, allocations: 11.94 kB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3721, allocations: 134.4 kB / 1.102 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.3721, allocations: 19.98 kB / 1.102 GB, free: 2.551 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002965/0.3724, allocations: 261.9 kB / 1.102 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.3725, allocations: 39.52 kB / 1.102 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.3726, allocations: 55.3 kB / 1.102 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3726, allocations: 4 kB / 1.102 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3726, allocations: 0 / 1.102 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3726, allocations: 3.984 kB / 1.102 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.3731, allocations: 405.2 kB / 1.103 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3731, allocations: 8 kB / 1.103 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.3731, allocations: 11.92 kB / 1.103 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3731, allocations: 0 / 1.103 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.3731, allocations: 11.94 kB / 1.103 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3731, allocations: 0 / 1.103 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3731, allocations: 4 kB / 1.103 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.3738, allocations: 0.511 MB / 1.103 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.374, allocations: 128.6 kB / 1.103 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.374, allocations: 7.938 kB / 1.103 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3742, allocations: 19.97 kB / 1.103 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.3743, allocations: 31.97 kB / 1.103 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.3743, allocations: 8 kB / 1.103 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004869/0.3748, allocations: 435.1 kB / 1.104 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3748, allocations: 0 / 1.104 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004305/0.3752, allocations: 115.8 kB / 1.104 GB, free: 428 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002628/0.3755, allocations: 153.3 kB / 1.104 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.3761, allocations: 353.8 kB / 1.104 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3761, allocations: 0.75 kB / 1.104 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.3763, allocations: 199.6 kB / 1.105 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3767, allocations: 37.95 kB / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3779, allocations: 0.8173 MB / 1.105 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3784, allocations: 0.8389 MB / 1.106 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.3786, allocations: 98.8 kB / 1.106 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.3787, allocations: 35.42 kB / 1.106 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.3787, allocations: 0 / 1.106 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.01438/0.3931, allocations: 7.976 MB / 1.114 GB, free: 5.945 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches