Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437.1 MB / 0.7177 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 177] 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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.298, allocations: 151.6 MB / 1.176 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001928/0.3, allocations: 0.6864 MB / 1.177 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3019, allocations: 1.343 MB / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.302, allocations: 0 / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.3025, allocations: 195.5 kB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.3027, allocations: 103.7 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.3034, allocations: 231.3 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006229/0.3041, allocations: 495.7 kB / 1.179 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.3041, allocations: 8 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.3043, allocations: 203.7 kB / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.3047, allocations: 219.5 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.3048, allocations: 24 kB / 1.179 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.305, allocations: 79.94 kB / 1.179 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.3054, allocations: 247.5 kB / 1.18 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.3056, allocations: 155.3 kB / 1.18 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.3062, allocations: 478.5 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3062, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3062, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3062, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001048/0.3073, allocations: 0.65 MB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3073, allocations: 12.03 kB / 1.181 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3074, allocations: 28.8 kB / 1.181 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.308, allocations: 384.3 kB / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3081, allocations: 12.38 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.3081, allocations: 28.3 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.3084, allocations: 188.7 kB / 1.181 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3085, allocations: 4.188 kB / 1.181 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3085, allocations: 3.938 kB / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.3085, allocations: 0 / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.3087, allocations: 115.9 kB / 1.182 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.3092, allocations: 383.1 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.3097, allocations: 319.6 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.3099, allocations: 126.6 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.3099, allocations: 0 / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/0.3104, allocations: 293.6 kB / 1.183 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.3104, allocations: 0 / 1.183 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0009761/0.3114, allocations: 0.4972 MB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/0.3115, allocations: 114.8 kB / 1.183 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.312, allocations: 404.5 kB / 1.184 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/0.3121, allocations: 41.7 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3122, allocations: 152.8 kB / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.3123, allocations: 35.75 kB / 1.184 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.3125, allocations: 117.6 kB / 1.184 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3127, allocations: 342.8 kB / 1.184 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.3128, allocations: 83.95 kB / 1.184 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/0.3134, allocations: 471.8 kB / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.3137, allocations: 257.4 kB / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3137, allocations: 4 kB / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005523/0.3143, allocations: 329.1 kB / 1.185 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.3143, allocations: 7.938 kB / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3143, allocations: 7.938 kB / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.3144, allocations: 8 kB / 1.185 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3145, allocations: 27.92 kB / 1.185 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.3146, allocations: 8.344 kB / 1.185 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000736/0.3153, allocations: 76.56 kB / 1.185 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.3153, allocations: 15.98 kB / 1.185 GB, free: 11.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002495/0.3156, allocations: 188 kB / 1.186 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.3157, allocations: 35.73 kB / 1.186 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.3157, allocations: 37.89 kB / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3157, allocations: 4 kB / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3158, allocations: 0 / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3158, allocations: 0 / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.3161, allocations: 285.5 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3161, allocations: 0 / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.3161, allocations: 4 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3161, allocations: 3.938 kB / 1.186 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.3162, allocations: 12.22 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3162, allocations: 4 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3162, allocations: 3.938 kB / 1.186 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.3168, allocations: 436.9 kB / 1.186 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.3169, allocations: 104.9 kB / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.3169, allocations: 7.922 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.317, allocations: 8 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.3171, allocations: 23.86 kB / 1.187 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.3171, allocations: 15.98 kB / 1.187 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003268/0.3174, allocations: 291 kB / 1.187 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3175, allocations: 0 / 1.187 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003688/0.3178, allocations: 75.94 kB / 1.187 GB, free: 9.918 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002556/0.3181, allocations: 143.9 kB / 1.187 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004563/0.3186, allocations: 260 kB / 1.187 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3186, allocations: 0 / 1.187 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.3188, allocations: 171.8 kB / 1.188 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3191, allocations: 28.64 kB / 1.188 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.3201, allocations: 0.6018 MB / 1.188 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3205, allocations: 0.7674 MB / 1.189 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.3206, allocations: 31.42 kB / 1.189 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3206, allocations: 0 / 1.189 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of Templates: time 0.008755/0.3294, allocations: 4.325 MB / 1.193 GB, free: 3.594 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.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: 11.102944975020364]