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.0008686/0.0008686, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002038, allocations: 440 kB / 10.41 MB, free: 284 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.0007/0.0007, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001763, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9106/0.9106, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08506/0.9956, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.363/2.363, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2358/2.599, allocations: 146 MB / 0.8176 GB, free: 3.812 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.523e-06/1.523e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.495e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001487/0.001502, allocations: 0.7232 MB / 0.8196 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004369/0.005872, allocations: 1.384 MB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.005914, allocations: 0 / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.006237, allocations: 215.4 kB / 0.8212 GB, free: 144 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.006322, allocations: 127.6 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.006738, allocations: 226.2 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.007092, allocations: 0.4997 MB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.007162, allocations: 4 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.007388, allocations: 279.7 kB / 0.8223 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.007584, allocations: 159.7 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.007633, allocations: 20 kB / 0.8225 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.007809, allocations: 107.7 kB / 0.8226 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.007954, allocations: 139.8 kB / 0.8227 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.685e-05/0.008031, allocations: 67.81 kB / 0.8228 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.008338, allocations: 343 kB / 0.8231 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.008349, allocations: 0 / 0.8231 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00835, allocations: 0 / 0.8231 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.008362, allocations: 4 kB / 0.8231 GB, free: 14.2 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.0006556/0.009017, allocations: 0.573 MB / 0.8237 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.009046, allocations: 15.97 kB / 0.8237 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.009113, allocations: 32.83 kB / 0.8237 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.009411, allocations: 241.9 kB / 0.8239 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.009424, allocations: 12.38 kB / 0.8239 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.009467, allocations: 20.38 kB / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.009608, allocations: 103.5 kB / 0.8241 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.009614, allocations: 4.188 kB / 0.8241 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.009625, allocations: 4.312 kB / 0.8241 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.009632, allocations: 8.375 kB / 0.8241 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.009679, allocations: 44.33 kB / 0.8241 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.00982, allocations: 131.1 kB / 0.8242 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.00997, allocations: 133.9 kB / 0.8244 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.01002, allocations: 42.61 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-06/0.01002, allocations: 4 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.01022, allocations: 224.4 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 8.42e-07/0.01022, allocations: 0 / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.000254/0.01047, allocations: 206.1 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.01052, allocations: 118.8 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.01069, allocations: 266.9 kB / 0.8252 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.01072, allocations: 41.7 kB / 0.8252 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.01079, allocations: 121.4 kB / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.01082, allocations: 39.77 kB / 0.8254 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.01091, allocations: 89.59 kB / 0.8255 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.01098, allocations: 354.7 kB / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.01103, allocations: 30.81 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.01137, allocations: 0.9467 MB / 0.8268 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.01165, allocations: 204.7 kB / 0.827 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01165, allocations: 0 / 0.827 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001958/0.01185, allocations: 210 kB / 0.8272 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01186, allocations: 7.984 kB / 0.8272 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01187, allocations: 4 kB / 0.8272 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01188, allocations: 4 kB / 0.8272 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.01201, allocations: 51.91 kB / 0.8272 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.01201, allocations: 8 kB / 0.8272 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.01227, allocations: 63.06 kB / 0.8273 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.01228, allocations: 15.94 kB / 0.8273 GB, free: 9.305 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 9.786e-05/0.01238, allocations: 146.7 kB / 0.8274 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.01241, allocations: 19.98 kB / 0.8275 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.01244, allocations: 29.89 kB / 0.8275 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01244, allocations: 4 kB / 0.8275 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01244, allocations: 0 / 0.8275 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01245, allocations: 7.984 kB / 0.8275 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.01256, allocations: 133.6 kB / 0.8276 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01256, allocations: 0 / 0.8276 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.121e-05/0.01257, allocations: 11.98 kB / 0.8276 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.01259, allocations: 19.86 kB / 0.8277 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.0126, allocations: 8 kB / 0.8277 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.0126, allocations: 0 / 0.8277 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.0126, allocations: 0 / 0.8277 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.01261, allocations: 7.984 kB / 0.8277 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.01277, allocations: 196.1 kB / 0.8279 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.01279, allocations: 3.984 kB / 0.8279 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.01284, allocations: 8 kB / 0.8279 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.01286, allocations: 11.98 kB / 0.8279 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01288, allocations: 11.98 kB / 0.8279 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.01296, allocations: 104.6 kB / 0.828 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01296, allocations: 0 / 0.828 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002075/0.01317, allocations: 79.94 kB / 0.8281 GB, free: 8.453 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.0001361/0.0133, allocations: 128.1 kB / 0.8282 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.01349, allocations: 153.6 kB / 0.8283 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.01349, allocations: 4 kB / 0.8283 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.01356, allocations: 68.88 kB / 0.8284 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.01373, allocations: 150 kB / 0.8286 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.01436, allocations: 466.7 kB / 0.829 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.755e-05/0.01441, allocations: 92.31 kB / 0.8291 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.189e-05/0.01448, allocations: 41.88 kB / 0.8291 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.01464, allocations: 115.2 kB / 0.8292 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.01464, allocations: 0 / 0.8292 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.006844/0.02148, allocations: 6.059 MB / 0.8352 GB, free: 1.188 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023797661066055]