Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.642/2.642, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003325/0.003325, allocations: 63.91 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3853, allocations: 169.9 MB / 1.117 GB, free: 2.617 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002477/0.3877, allocations: 0.8126 MB / 1.118 GB, free: 1.805 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.3902, allocations: 1.463 MB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.3903, allocations: 0 / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.3909, allocations: 207.4 kB / 1.12 GB, free: 128 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.3911, allocations: 111.6 kB / 1.12 GB, free: 16 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3924, allocations: 366.1 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.3939, allocations: 0.8738 MB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.3941, allocations: 56.5 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/0.395, allocations: 351.5 kB / 1.122 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008058/0.3958, allocations: 291.2 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003561/0.3961, allocations: 44 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.3967, allocations: 123.9 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007609/0.3974, allocations: 363.2 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.3981, allocations: 239 kB / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.3996, allocations: 0.9151 MB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3997, allocations: 3.938 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.178e-06/0.3997, allocations: 3.984 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3997, allocations: 4 kB / 1.124 GB, free: 12.42 MB / 1.076 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.001782/0.4014, allocations: 0.8241 MB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4015, allocations: 15.97 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.4017, allocations: 52.66 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009662/0.4027, allocations: 0.4887 MB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.4027, allocations: 24.55 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.4028, allocations: 36.38 kB / 1.125 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.4034, allocations: 306.2 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4034, allocations: 8.188 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.4034, allocations: 3.938 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.4034, allocations: 4 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.4038, allocations: 227.8 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.406, allocations: 0.9961 MB / 1.126 GB, free: 9.332 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.4067, allocations: 459.7 kB / 1.127 GB, free: 8.855 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.407, allocations: 178.6 kB / 1.127 GB, free: 8.672 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.407, allocations: 4 kB / 1.127 GB, free: 8.668 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006115/0.4076, allocations: 332.5 kB / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.4076, allocations: 4 kB / 1.127 GB, free: 8.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=24): time 0.001178/0.4088, allocations: 0.6259 MB / 1.128 GB, free: 7.688 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.4089, allocations: 111.6 kB / 1.128 GB, free: 7.555 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/0.4097, allocations: 0.6033 MB / 1.129 GB, free: 6.945 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.4098, allocations: 41.7 kB / 1.129 GB, free: 6.898 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.41, allocations: 213.7 kB / 1.129 GB, free: 6.684 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.4101, allocations: 59.56 kB / 1.129 GB, free: 6.625 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.4104, allocations: 185.5 kB / 1.129 GB, free: 6.438 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002806/0.4107, allocations: 354.8 kB / 1.129 GB, free: 6.082 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.4109, allocations: 127.9 kB / 1.13 GB, free: 5.957 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.4126, allocations: 1.779 MB / 1.131 GB, free: 3.746 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.413, allocations: 308.5 kB / 1.132 GB, free: 3.398 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.413, allocations: 4 kB / 1.132 GB, free: 3.395 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007438/0.4138, allocations: 416.9 kB / 1.132 GB, free: 2.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4138, allocations: 8 kB / 1.132 GB, free: 2.973 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4138, allocations: 4.375 kB / 1.132 GB, free: 2.969 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.4138, allocations: 8 kB / 1.132 GB, free: 2.961 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.414, allocations: 35.92 kB / 1.132 GB, free: 2.926 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.414, allocations: 11.92 kB / 1.132 GB, free: 2.914 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4154, allocations: 128.1 kB / 1.132 GB, free: 2.789 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4155, allocations: 23.92 kB / 1.132 GB, free: 2.766 MB / 1.076 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.0004942/0.416, allocations: 257.7 kB / 1.132 GB, free: 2.508 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/0.416, allocations: 39.72 kB / 1.133 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.4162, allocations: 51.44 kB / 1.133 GB, free: 2.418 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4162, allocations: 4 kB / 1.133 GB, free: 2.414 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.4162, allocations: 3.938 kB / 1.133 GB, free: 2.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4162, allocations: 3.984 kB / 1.133 GB, free: 2.406 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.4167, allocations: 297 kB / 1.133 GB, free: 2.086 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4167, allocations: 7.984 kB / 1.133 GB, free: 2.078 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.4167, allocations: 4 kB / 1.133 GB, free: 2.074 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4167, allocations: 0 / 1.133 GB, free: 2.074 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.4168, allocations: 8 kB / 1.133 GB, free: 2.066 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.4168, allocations: 11.92 kB / 1.133 GB, free: 2.055 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4168, allocations: 0 / 1.133 GB, free: 2.055 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.4176, allocations: 0.5099 MB / 1.133 GB, free: 1.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.4177, allocations: 43.77 kB / 1.133 GB, free: 1.477 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.4177, allocations: 7.984 kB / 1.133 GB, free: 1.469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4179, allocations: 15.98 kB / 1.133 GB, free: 1.453 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.418, allocations: 39.83 kB / 1.133 GB, free: 1.414 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.418, allocations: 16 kB / 1.133 GB, free: 1.398 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005846/0.4186, allocations: 435.1 kB / 1.134 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4186, allocations: 0 / 1.134 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004981/0.4191, allocations: 111.8 kB / 1.134 GB, free: 0.8633 MB / 1.076 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.0002951/0.4194, allocations: 145.7 kB / 1.134 GB, free: 0.707 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006815/0.4201, allocations: 351.8 kB / 1.134 GB, free: 372 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4201, allocations: 0 / 1.134 GB, free: 372 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.4203, allocations: 163.9 kB / 1.135 GB, free: 208 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4207, allocations: 34.08 kB / 1.135 GB, free: 176 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5637/0.9844, allocations: 0.8491 MB / 1.136 GB, free: 58.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.9846, allocations: 232.1 kB / 1.136 GB, free: 58.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004314/0.985, allocations: 91.17 kB / 1.136 GB, free: 58.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.9851, allocations: 41.09 kB / 1.136 GB, free: 58.1 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/0.9851, allocations: 0 / 1.136 GB, free: 58.1 MB / 1.076 GB Notification: Performance of Templates: time 0.0126/0.9977, allocations: 8.667 MB / 1.144 GB, free: 57.39 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.006674938020296]