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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00687/0.006871, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001797/0.001797, allocations: 193.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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.369/2.369, allocations: 437.1 MB / 0.7106 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.89 kB / 1.018 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6639, allocations: 151.6 MB / 1.166 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001799/0.6657, allocations: 0.8721 MB / 1.167 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.6674, allocations: 1.45 MB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.6675, allocations: 11.94 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.6679, allocations: 187.5 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.6681, allocations: 115.6 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.669, allocations: 357.6 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009218/0.6699, allocations: 0.8775 MB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.6701, allocations: 100.2 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.6704, allocations: 347.4 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.6708, allocations: 267.3 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.6709, allocations: 47.94 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.6712, allocations: 103.9 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.6716, allocations: 351.2 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.6719, allocations: 266.9 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.6728, allocations: 0.9109 MB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6728, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6728, allocations: 7.938 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.6728, allocations: 0 / 1.172 GB, free: 13.47 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.001387/0.6742, allocations: 0.9033 MB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.6742, allocations: 8.922 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/0.6743, allocations: 46.73 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.6745, allocations: 56.66 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/0.6752, allocations: 0.5452 MB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.6752, allocations: 28.55 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/0.6753, allocations: 40.38 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.6757, allocations: 298.2 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6758, allocations: 3.938 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.6758, allocations: 4 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6758, allocations: 4 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.6761, allocations: 223.8 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.6778, allocations: 1.191 MB / 1.176 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.6785, allocations: 463.7 kB / 1.176 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.6787, allocations: 178.6 kB / 1.176 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.6787, allocations: 4 kB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.6792, allocations: 328.9 kB / 1.176 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.6792, allocations: 0 / 1.176 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.0009537/0.6801, allocations: 0.6304 MB / 1.177 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.6802, allocations: 118.9 kB / 1.177 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.6809, allocations: 0.5955 MB / 1.178 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.681, allocations: 49.62 kB / 1.178 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.6812, allocations: 217.5 kB / 1.178 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.6812, allocations: 55.58 kB / 1.178 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.6815, allocations: 185.5 kB / 1.178 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6817, allocations: 366.8 kB / 1.179 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.6818, allocations: 127.8 kB / 1.179 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008182/0.6827, allocations: 0.7149 MB / 1.179 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.683, allocations: 304.3 kB / 1.18 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.683, allocations: 0 / 1.18 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006142/0.6837, allocations: 424.9 kB / 1.18 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.6837, allocations: 4 kB / 1.18 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6837, allocations: 4 kB / 1.18 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.6837, allocations: 11.94 kB / 1.18 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.6838, allocations: 32.3 kB / 1.18 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.6839, allocations: 8 kB / 1.18 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.6851, allocations: 128.2 kB / 1.18 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.6851, allocations: 16 kB / 1.18 GB, free: 4.707 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.0002719/0.6854, allocations: 261.6 kB / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.6854, allocations: 47.7 kB / 1.181 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.6855, allocations: 43.38 kB / 1.181 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.6855, allocations: 7.938 kB / 1.181 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6856, allocations: 0 / 1.181 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6856, allocations: 3.938 kB / 1.181 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.686, allocations: 413.2 kB / 1.181 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.686, allocations: 0 / 1.181 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.686, allocations: 8 kB / 1.181 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.686, allocations: 0 / 1.181 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.686, allocations: 11.98 kB / 1.181 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.686, allocations: 7.938 kB / 1.181 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.686, allocations: 3.938 kB / 1.181 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.6867, allocations: 0.5163 MB / 1.182 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6868, allocations: 132.9 kB / 1.182 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.6869, allocations: 0 / 1.182 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.687, allocations: 27.91 kB / 1.182 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.6871, allocations: 35.91 kB / 1.182 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.6871, allocations: 12 kB / 1.182 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004715/0.6876, allocations: 435 kB / 1.182 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6876, allocations: 0 / 1.182 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003964/0.688, allocations: 115.8 kB / 1.182 GB, free: 2.559 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.001033/0.6891, allocations: 1.108 MB / 1.183 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.6896, allocations: 351.8 kB / 1.184 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6896, allocations: 0 / 1.184 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.6899, allocations: 191.8 kB / 1.184 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.6901, allocations: 33.95 kB / 1.184 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.6951, allocations: 4.413 MB / 1.188 GB, free: 12.25 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.6955, allocations: 0.8389 MB / 1.189 GB, free: 11.38 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002/0.6957, allocations: 96.8 kB / 1.189 GB, free: 11.29 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.6959, allocations: 127.4 kB / 1.189 GB, free: 11.17 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.6959, allocations: 0 / 1.189 GB, free: 11.17 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.423/3.118, allocations: 11.56 MB / 1.201 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/17.76, allocations: 9.5 kB / 1.201 GB, free: 15.86 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > 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/jenkins1/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