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.001317/0.001317, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001106/0.001106, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.095/1.095, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.524/2.524, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.633e-06/1.633e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.333e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001547/0.00156, allocations: 0.735 MB / 0.8393 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004567/0.006127, allocations: 1.38 MB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.00618, allocations: 4 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.006624, allocations: 203.4 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.006737, allocations: 111.6 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.007242, allocations: 231.2 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.007696, allocations: 491.7 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.007733, allocations: 7.984 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.007979, allocations: 251.7 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.008217, allocations: 167.7 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.008269, allocations: 20 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.008475, allocations: 95.84 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.008816, allocations: 191.6 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.008934, allocations: 111.8 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.009362, allocations: 430.8 kB / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.009364, allocations: 0 / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.009365, allocations: 0 / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.009369, allocations: 0 / 0.8429 GB, free: 9.727 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.0006433/0.01001, allocations: 0.5107 MB / 0.8434 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.01004, allocations: 12.62 kB / 0.8434 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.0101, allocations: 28.89 kB / 0.8434 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.01036, allocations: 257.8 kB / 0.8437 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.01037, allocations: 12.38 kB / 0.8437 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.01041, allocations: 16.38 kB / 0.8437 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.01055, allocations: 111.5 kB / 0.8438 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.01055, allocations: 4.172 kB / 0.8438 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.01056, allocations: 384 / 0.8438 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.01057, allocations: 4.375 kB / 0.8438 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.01062, allocations: 36.34 kB / 0.8439 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.01076, allocations: 131.2 kB / 0.844 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.01092, allocations: 137.9 kB / 0.8441 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.01097, allocations: 46.59 kB / 0.8442 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-06/0.01097, allocations: 4 kB / 0.8442 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.01117, allocations: 218.6 kB / 0.8444 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 8.92e-07/0.01117, allocations: 0 / 0.8444 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002608/0.01143, allocations: 202 kB / 0.8446 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.01149, allocations: 122.7 kB / 0.8447 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01165, allocations: 267 kB / 0.8449 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.01168, allocations: 37.7 kB / 0.845 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.01174, allocations: 125.3 kB / 0.8451 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.01177, allocations: 43.7 kB / 0.8451 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.01187, allocations: 89.59 kB / 0.8452 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.01195, allocations: 350.7 kB / 0.8456 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.01199, allocations: 34.81 kB / 0.8456 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.01235, allocations: 0.9352 MB / 0.8465 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.0125, allocations: 204.8 kB / 0.8467 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0125, allocations: 0 / 0.8467 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001958/0.01269, allocations: 213.9 kB / 0.8469 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.01271, allocations: 4 kB / 0.8469 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01271, allocations: 7.984 kB / 0.8469 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01272, allocations: 4 kB / 0.8469 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.01284, allocations: 47.91 kB / 0.847 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01284, allocations: 8.344 kB / 0.847 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.01311, allocations: 67.33 kB / 0.847 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.01312, allocations: 11.94 kB / 0.8471 GB, free: 4.91 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.0001024/0.01322, allocations: 142.6 kB / 0.8472 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.01325, allocations: 23.97 kB / 0.8472 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.01328, allocations: 25.95 kB / 0.8472 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01329, allocations: 0 / 0.8472 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.01329, allocations: 4 kB / 0.8472 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01329, allocations: 4 kB / 0.8472 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.0134, allocations: 141.6 kB / 0.8474 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01341, allocations: 8 kB / 0.8474 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-06/0.01341, allocations: 4 kB / 0.8474 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01342, allocations: 0 / 0.8474 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.01343, allocations: 7.984 kB / 0.8474 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01343, allocations: 7.938 kB / 0.8474 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01343, allocations: 3.938 kB / 0.8474 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.01359, allocations: 186 kB / 0.8476 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.01361, allocations: 23.86 kB / 0.8476 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01363, allocations: 4 kB / 0.8476 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.478e-05/0.01367, allocations: 7.984 kB / 0.8476 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.01371, allocations: 15.98 kB / 0.8476 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.01372, allocations: 11.98 kB / 0.8476 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.435e-05/0.01381, allocations: 108.5 kB / 0.8478 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01381, allocations: 0 / 0.8478 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002356/0.01404, allocations: 75.94 kB / 0.8478 GB, free: 4.055 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.0001353/0.01418, allocations: 125.1 kB / 0.8479 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.01435, allocations: 140.5 kB / 0.8481 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01436, allocations: 4 kB / 0.8481 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.01443, allocations: 67.56 kB / 0.8481 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.01456, allocations: 32.58 kB / 0.8482 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.01502, allocations: 455.8 kB / 0.8486 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.01507, allocations: 92.31 kB / 0.8487 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.797e-05/0.01514, allocations: 41.92 kB / 0.8487 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.01543, allocations: 115.3 kB / 0.8488 GB, free: 2.938 MB / 0.8073 GB Notification: Performance of SimCode: time 8.51e-07/0.01543, allocations: 0 / 0.8488 GB, free: 2.938 MB / 0.8073 GB Notification: Performance of Templates: time 0.006972/0.0224, allocations: 5.838 MB / 0.8545 GB, free: 13.21 MB / 0.823 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.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.504567862953991]