Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001119/0.001119, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001631/0.00275, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009272/0.0009272, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001977, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.049/1.049, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1114/1.16, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.517/2.517, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2673/2.784, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.416e-05, allocations: 14.25 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001792/0.001816, allocations: 0.7329 MB / 0.819 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005648/0.007464, allocations: 1.384 MB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.007527, allocations: 0 / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.007914, allocations: 211.4 kB / 0.8206 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.008034, allocations: 119.6 kB / 0.8207 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.008644, allocations: 227.2 kB / 0.8209 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.009189, allocations: 0.4999 MB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.009232, allocations: 0 / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.009574, allocations: 279.5 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.009844, allocations: 163.7 kB / 0.8218 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.026e-05/0.009904, allocations: 20 kB / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.01317, allocations: 103.8 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.01337, allocations: 143.7 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.01348, allocations: 63.88 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.01392, allocations: 350.9 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.01393, allocations: 4 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01393, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.01395, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 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.0008454/0.0148, allocations: 0.573 MB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.01483, allocations: 8.625 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.01491, allocations: 28.89 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.01536, allocations: 245.9 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.01538, allocations: 12.38 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.01544, allocations: 20.38 kB / 0.8233 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.01561, allocations: 115.5 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.01562, allocations: 192 / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.01563, allocations: 4.375 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.01564, allocations: 384 / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.0157, allocations: 40.41 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.0159, allocations: 135 kB / 0.8236 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.01911, allocations: 133.9 kB / 0.8237 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.01917, allocations: 50.55 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.01918, allocations: 4 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.01945, allocations: 216.4 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.01945, allocations: 0 / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0003587/0.01981, allocations: 206.4 kB / 0.8242 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.01987, allocations: 114.7 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.02011, allocations: 270.9 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.02016, allocations: 37.7 kB / 0.8246 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.02024, allocations: 121.4 kB / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.02028, allocations: 47.7 kB / 0.8248 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.02041, allocations: 93.58 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.02052, allocations: 350.7 kB / 0.8252 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.02058, allocations: 30.81 kB / 0.8252 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.02106, allocations: 0.9467 MB / 0.8261 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.02126, allocations: 196.8 kB / 0.8263 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02126, allocations: 0 / 0.8263 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002836/0.02155, allocations: 213.8 kB / 0.8265 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.02156, allocations: 8 kB / 0.8265 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.02157, allocations: 7.984 kB / 0.8265 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.02159, allocations: 4 kB / 0.8265 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.02176, allocations: 51.91 kB / 0.8266 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.02177, allocations: 4 kB / 0.8266 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/0.02514, allocations: 55.91 kB / 0.8267 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.02516, allocations: 15.94 kB / 0.8267 GB, free: 9.727 MB / 0.8073 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.0001455/0.0253, allocations: 146.9 kB / 0.8268 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.02535, allocations: 24.22 kB / 0.8268 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.02539, allocations: 25.95 kB / 0.8269 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.0254, allocations: 7.984 kB / 0.8269 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.0254, allocations: 0 / 0.8269 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.02541, allocations: 7.922 kB / 0.8269 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.02557, allocations: 133.6 kB / 0.827 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02557, allocations: 0 / 0.827 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.02559, allocations: 15.98 kB / 0.827 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.02562, allocations: 19.86 kB / 0.827 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.02562, allocations: 0 / 0.827 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.02563, allocations: 4 kB / 0.827 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.02563, allocations: 0 / 0.827 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.02564, allocations: 3.984 kB / 0.827 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.02587, allocations: 194 kB / 0.8272 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.0259, allocations: 11.98 kB / 0.8272 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.02596, allocations: 4 kB / 0.8272 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.026, allocations: 15.98 kB / 0.8273 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.02602, allocations: 7.984 kB / 0.8273 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00012/0.02614, allocations: 112.6 kB / 0.8274 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02614, allocations: 0 / 0.8274 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003266/0.02646, allocations: 71.94 kB / 0.8274 GB, free: 8.875 MB / 0.8073 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.0001916/0.02666, allocations: 129.1 kB / 0.8276 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.02691, allocations: 155.7 kB / 0.8277 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.02691, allocations: 8.25 kB / 0.8277 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.02699, allocations: 60.75 kB / 0.8278 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.02718, allocations: 48.55 kB / 0.8278 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.03105, allocations: 470.7 kB / 0.8283 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.389e-05/0.03112, allocations: 96.23 kB / 0.8284 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.03122, allocations: 29.95 kB / 0.8284 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.03143, allocations: 115.3 kB / 0.8285 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of SimCode: time 1.613e-06/0.03143, allocations: 4 kB / 0.8285 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of Templates: time 0.0189/0.05033, allocations: 6.139 MB / 0.8345 GB, free: 1.656 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.58840068988502]