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.01397/0.01397, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00251/0.00251, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.437/2.437, allocations: 390.2 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.12 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3178, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002018/0.3198, allocations: 0.8527 MB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3217, allocations: 1.453 MB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.3218, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.3223, allocations: 199.4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.3224, allocations: 111.6 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009838/0.3234, allocations: 374.4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009177/0.3243, allocations: 0.8815 MB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.3246, allocations: 92.25 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.3249, allocations: 347.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.3253, allocations: 263.2 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.3254, allocations: 48 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.3256, allocations: 103.9 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.3261, allocations: 343.3 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.3264, allocations: 274.8 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008254/0.3272, allocations: 0.9154 MB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3272, allocations: 0 / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3272, allocations: 0 / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.078e-06/0.3273, allocations: 0 / 1.094 GB, free: 11.28 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.001481/0.3287, allocations: 0.888 MB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3288, allocations: 8.031 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.329, allocations: 56.38 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007599/0.3297, allocations: 0.5409 MB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3298, allocations: 24.61 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3299, allocations: 40.36 kB / 1.096 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.3303, allocations: 309.8 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3303, allocations: 0 / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.3304, allocations: 11.98 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3304, allocations: 4 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.3307, allocations: 223.8 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.3326, allocations: 1.172 MB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.3332, allocations: 471.8 kB / 1.098 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.3334, allocations: 182.5 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.3334, allocations: 4 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.3339, allocations: 331.1 kB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.3339, allocations: 0 / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.0009809/0.3349, allocations: 0.6421 MB / 1.099 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.3349, allocations: 110.8 kB / 1.099 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.3356, allocations: 0.5993 MB / 1.099 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/0.3357, allocations: 45.7 kB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.3359, allocations: 225.4 kB / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.336, allocations: 47.41 kB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.3362, allocations: 185.5 kB / 1.1 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3364, allocations: 354.8 kB / 1.1 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.3366, allocations: 131.9 kB / 1.1 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007858/0.3373, allocations: 0.7098 MB / 1.101 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.3377, allocations: 296.6 kB / 1.101 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3377, allocations: 4 kB / 1.101 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006292/0.3384, allocations: 412.9 kB / 1.102 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3384, allocations: 9.562 kB / 1.102 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3384, allocations: 8.391 kB / 1.102 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.3385, allocations: 8 kB / 1.102 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3386, allocations: 39.86 kB / 1.102 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.3386, allocations: 11.97 kB / 1.102 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.3399, allocations: 119.6 kB / 1.102 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.3399, allocations: 23.92 kB / 1.102 GB, free: 2.609 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.0002996/0.3402, allocations: 261.6 kB / 1.102 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.3403, allocations: 39.53 kB / 1.102 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.207e-05/0.3404, allocations: 51.31 kB / 1.102 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3404, allocations: 4 kB / 1.102 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3404, allocations: 0 / 1.102 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3404, allocations: 7.984 kB / 1.102 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.3408, allocations: 401.3 kB / 1.103 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3408, allocations: 4.062 kB / 1.103 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.3408, allocations: 11.92 kB / 1.103 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3409, allocations: 4 kB / 1.103 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3409, allocations: 11.94 kB / 1.103 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3409, allocations: 0 / 1.103 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3409, allocations: 4 kB / 1.103 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.3416, allocations: 0.5098 MB / 1.103 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3417, allocations: 128.6 kB / 1.103 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.3417, allocations: 12.02 kB / 1.103 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3419, allocations: 19.92 kB / 1.103 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.342, allocations: 31.97 kB / 1.103 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.342, allocations: 8 kB / 1.103 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004738/0.3425, allocations: 439 kB / 1.104 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3425, allocations: 4 kB / 1.104 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004555/0.343, allocations: 111.8 kB / 1.104 GB, free: 484 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.0002615/0.3432, allocations: 149.4 kB / 1.104 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005786/0.3438, allocations: 354 kB / 1.104 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3438, allocations: 8.25 kB / 1.104 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.3441, allocations: 191.6 kB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3444, allocations: 33.95 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.3456, allocations: 0.8153 MB / 1.105 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.346, allocations: 0.8389 MB / 1.106 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002023/0.3462, allocations: 94.92 kB / 1.106 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.211e-05/0.3463, allocations: 39.36 kB / 1.106 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.3463, allocations: 0 / 1.106 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.01404/0.3604, allocations: 8.163 MB / 1.114 GB, free: 5.816 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