Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.01207/0.01207, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.002146/0.002146, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.592/1.592, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.668/2.668, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205/1.207, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002381/1.21, allocations: 0.8656 MB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002209/1.212, allocations: 1.454 MB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.004e-05/1.212, allocations: 0 / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005297/1.213, allocations: 203.4 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/1.213, allocations: 111.7 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/1.214, allocations: 354 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001083/1.215, allocations: 0.8854 MB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/1.215, allocations: 84.22 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004405/1.216, allocations: 355.3 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/1.216, allocations: 263.3 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/1.216, allocations: 48 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/1.217, allocations: 111.9 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004541/1.217, allocations: 343.3 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/1.217, allocations: 266.9 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/1.219, allocations: 0.9234 MB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.219, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.144e-06/1.219, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.197e-05/1.219, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 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.001813/1.22, allocations: 0.8994 MB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.221, allocations: 20.56 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/1.221, allocations: 52.66 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009942/1.222, allocations: 0.5413 MB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/1.222, allocations: 24.61 kB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/1.222, allocations: 40.36 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/1.222, allocations: 298.2 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/1.222, allocations: 4.188 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/1.222, allocations: 15.92 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.222, allocations: 0 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/1.223, allocations: 227.8 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/1.225, allocations: 1.18 MB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/1.226, allocations: 467.7 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/1.226, allocations: 178.6 kB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/1.226, allocations: 0 / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004805/1.226, allocations: 333.6 kB / 1.177 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.472e-06/1.226, allocations: 0 / 1.177 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001046/1.228, allocations: 0.6266 MB / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/1.228, allocations: 126.8 kB / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/1.228, allocations: 0.5993 MB / 1.178 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/1.228, allocations: 45.7 kB / 1.178 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/1.229, allocations: 213.5 kB / 1.178 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/1.229, allocations: 59.58 kB / 1.178 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.229, allocations: 181.5 kB / 1.179 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.229, allocations: 366.8 kB / 1.179 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/1.229, allocations: 127.8 kB / 1.179 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/1.23, allocations: 0.7151 MB / 1.18 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/1.231, allocations: 312.4 kB / 1.18 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.231, allocations: 0 / 1.18 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006493/1.231, allocations: 417.2 kB / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.231, allocations: 8 kB / 1.181 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.231, allocations: 4 kB / 1.181 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.231, allocations: 4 kB / 1.181 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/1.231, allocations: 43.84 kB / 1.181 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.231, allocations: 7.938 kB / 1.181 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/1.233, allocations: 132.3 kB / 1.181 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/1.233, allocations: 12 kB / 1.181 GB, free: 4.902 MB / 0.9044 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.0003404/1.233, allocations: 253.7 kB / 1.181 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/1.233, allocations: 43.72 kB / 1.181 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.403e-05/1.233, allocations: 67.28 kB / 1.181 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.233, allocations: 3.938 kB / 1.181 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.233, allocations: 4 kB / 1.181 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.233, allocations: 0 / 1.181 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/1.234, allocations: 405.2 kB / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.234, allocations: 0 / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/1.234, allocations: 4 kB / 1.181 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.234, allocations: 7.938 kB / 1.181 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/1.234, allocations: 8 kB / 1.181 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/1.234, allocations: 7.922 kB / 1.181 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.234, allocations: 4 kB / 1.181 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/1.235, allocations: 0.5204 MB / 1.182 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.235, allocations: 120.9 kB / 1.182 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/1.235, allocations: 4 kB / 1.182 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/1.235, allocations: 19.92 kB / 1.182 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/1.235, allocations: 35.91 kB / 1.182 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/1.235, allocations: 19.92 kB / 1.182 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004831/1.236, allocations: 435.1 kB / 1.183 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.236, allocations: 0 / 1.183 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004749/1.236, allocations: 111.8 kB / 1.183 GB, free: 2.762 MB / 0.9044 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.000274/1.236, allocations: 149.3 kB / 1.183 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005418/1.237, allocations: 355.6 kB / 1.183 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.237, allocations: 0 / 1.183 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/1.237, allocations: 183.9 kB / 1.183 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/1.237, allocations: 41.95 kB / 1.183 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.239, allocations: 0.8271 MB / 1.184 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/1.239, allocations: 0.8389 MB / 1.185 GB, free: 316 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002344/1.239, allocations: 104.7 kB / 1.185 GB, free: 212 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/1.239, allocations: 39.42 kB / 1.185 GB, free: 172 kB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/1.239, allocations: 0 / 1.185 GB, free: 172 kB / 0.9044 GB Notification: Performance of Templates: time 0.01434/1.254, allocations: 7.984 MB / 1.193 GB, free: 8.277 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches