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.01031/0.01031, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001754/0.001753, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.738/2.738, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.12 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186/1.188, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002154/1.19, allocations: 0.8625 MB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002169/1.192, allocations: 1.466 MB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/1.192, allocations: 7.938 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005387/1.193, allocations: 187.5 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/1.193, allocations: 115.6 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/1.194, allocations: 354.3 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009898/1.195, allocations: 0.8776 MB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/1.195, allocations: 92.23 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/1.196, allocations: 351.3 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/1.196, allocations: 267.3 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/1.196, allocations: 48 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/1.196, allocations: 103.9 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/1.197, allocations: 347.2 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003411/1.197, allocations: 266.8 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009797/1.198, allocations: 0.9157 MB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/1.198, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.366e-06/1.198, allocations: 3.938 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.837e-05/1.198, allocations: 0 / 1.173 GB, free: 13.6 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.001848/1.2, allocations: 0.9072 MB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.2, allocations: 16.81 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/1.2, allocations: 52.66 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/1.201, allocations: 0.5414 MB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/1.201, allocations: 28.59 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.201, allocations: 36.38 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/1.202, allocations: 306.2 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.202, allocations: 192 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/1.202, allocations: 11.94 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.202, allocations: 4 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/1.202, allocations: 219.8 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/1.204, allocations: 1.184 MB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/1.205, allocations: 471.7 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/1.205, allocations: 182.6 kB / 1.177 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/1.205, allocations: 0 / 1.177 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/1.206, allocations: 333.7 kB / 1.177 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/1.206, allocations: 0 / 1.177 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001111/1.207, allocations: 0.6221 MB / 1.177 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.207, allocations: 126.7 kB / 1.178 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/1.208, allocations: 0.5955 MB / 1.178 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.292e-05/1.208, allocations: 53.69 kB / 1.178 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/1.208, allocations: 209.5 kB / 1.178 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/1.208, allocations: 56.34 kB / 1.178 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/1.209, allocations: 185.5 kB / 1.179 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.209, allocations: 362.8 kB / 1.179 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/1.209, allocations: 131.8 kB / 1.179 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009918/1.21, allocations: 0.7071 MB / 1.18 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/1.21, allocations: 312.3 kB / 1.18 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.21, allocations: 0 / 1.18 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006829/1.211, allocations: 425.1 kB / 1.181 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.211, allocations: 11.94 kB / 1.181 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.211, allocations: 4 kB / 1.181 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.211, allocations: 4 kB / 1.181 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/1.211, allocations: 39.86 kB / 1.181 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.211, allocations: 4 kB / 1.181 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.213, allocations: 132.4 kB / 1.181 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/1.213, allocations: 12 kB / 1.181 GB, free: 4.883 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.000391/1.213, allocations: 257.6 kB / 1.181 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/1.213, allocations: 51.66 kB / 1.181 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/1.213, allocations: 55.36 kB / 1.181 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.213, allocations: 3.938 kB / 1.181 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/1.213, allocations: 4 kB / 1.181 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.213, allocations: 0 / 1.181 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/1.214, allocations: 405.2 kB / 1.181 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.214, allocations: 0 / 1.181 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/1.214, allocations: 8 kB / 1.181 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.214, allocations: 4 kB / 1.181 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.214, allocations: 7.984 kB / 1.181 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.214, allocations: 3.938 kB / 1.181 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.214, allocations: 8 kB / 1.181 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/1.215, allocations: 0.52 MB / 1.182 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/1.215, allocations: 120.9 kB / 1.182 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/1.215, allocations: 4 kB / 1.182 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/1.215, allocations: 19.92 kB / 1.182 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.215, allocations: 39.95 kB / 1.182 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/1.215, allocations: 8 kB / 1.182 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005733/1.216, allocations: 435.1 kB / 1.183 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.216, allocations: 3.938 kB / 1.183 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005472/1.216, allocations: 115.8 kB / 1.183 GB, free: 2.742 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.0003148/1.217, allocations: 149.3 kB / 1.183 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006616/1.217, allocations: 355.6 kB / 1.183 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.217, allocations: 4 kB / 1.183 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/1.218, allocations: 187.8 kB / 1.183 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/1.218, allocations: 37.95 kB / 1.183 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/1.219, allocations: 0.8387 MB / 1.184 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/1.22, allocations: 0.8272 MB / 1.185 GB, free: 292 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002886/1.22, allocations: 103 kB / 1.185 GB, free: 188 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/1.22, allocations: 35.44 kB / 1.185 GB, free: 152 kB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/1.22, allocations: 0 / 1.185 GB, free: 152 kB / 0.9044 GB Notification: Performance of Templates: time 0.0157/1.236, allocations: 7.983 MB / 1.193 GB, free: 8.254 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