Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001567/0.001567, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001769/0.001769, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.524/1.524, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.933/2.933, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.915e-05, allocations: 5.875 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002248/0.002287, allocations: 0.6734 MB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.004679, allocations: 1.347 MB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.004747, allocations: 7.938 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.005349, allocations: 182.7 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.005528, allocations: 105 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008894/0.006418, allocations: 243.1 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.007135, allocations: 487.7 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.007178, allocations: 8 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.007646, allocations: 251.6 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.008086, allocations: 222.5 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.008195, allocations: 24 kB / 0.8143 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.008482, allocations: 95.84 kB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.008931, allocations: 275.4 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.009139, allocations: 116.4 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000797/0.009936, allocations: 0.5258 MB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.00994, allocations: 1.312 kB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.009941, allocations: 0 / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.009951, allocations: 0 / 0.8152 GB, free: 13.55 MB / 0.7761 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.00121/0.01116, allocations: 0.5719 MB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.0112, allocations: 8.031 kB / 0.8158 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.01139, allocations: 34.17 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/0.01201, allocations: 325.7 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.01203, allocations: 12.38 kB / 0.8162 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.01211, allocations: 24.36 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.01248, allocations: 190.3 kB / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.01249, allocations: 4.188 kB / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.01251, allocations: 384 / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.01251, allocations: 384 / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.01272, allocations: 120.7 kB / 0.8165 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.01318, allocations: 267 kB / 0.8167 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.01377, allocations: 316.5 kB / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.01407, allocations: 120.2 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.01408, allocations: 4 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000681/0.01476, allocations: 282.5 kB / 0.8174 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.01476, allocations: 0 / 0.8174 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.00104/0.0158, allocations: 0.4999 MB / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.0159, allocations: 114.8 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.01647, allocations: 408.4 kB / 0.8184 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/0.01655, allocations: 33.7 kB / 0.8185 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.01673, allocations: 152.8 kB / 0.8186 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.01679, allocations: 47.67 kB / 0.8186 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.017, allocations: 119.8 kB / 0.8188 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.01721, allocations: 342.8 kB / 0.8191 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.01736, allocations: 83.95 kB / 0.8192 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.01845, allocations: 1.087 MB / 0.8202 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.01884, allocations: 249.6 kB / 0.8205 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.01884, allocations: 0.5625 kB / 0.8205 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006356/0.01948, allocations: 349.2 kB / 0.8208 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01949, allocations: 4 kB / 0.8208 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.0195, allocations: 4.156 kB / 0.8208 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.01953, allocations: 4 kB / 0.8208 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.0197, allocations: 39.91 kB / 0.8209 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.01971, allocations: 18.02 kB / 0.8209 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.02049, allocations: 56.02 kB / 0.8209 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.02052, allocations: 16 kB / 0.8209 GB, free: 7.188 MB / 0.7761 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.0002585/0.02078, allocations: 197.7 kB / 0.8211 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.02085, allocations: 35.8 kB / 0.8212 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.02092, allocations: 35.08 kB / 0.8212 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.02093, allocations: 4 kB / 0.8212 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02093, allocations: 0 / 0.8212 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.02094, allocations: 5.062 kB / 0.8212 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.02123, allocations: 205.2 kB / 0.8214 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02123, allocations: 0 / 0.8214 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.02125, allocations: 7.938 kB / 0.8214 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.02126, allocations: 4.875 kB / 0.8214 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.02128, allocations: 11.98 kB / 0.8214 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.02128, allocations: 1.562 kB / 0.8214 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02128, allocations: 3.938 kB / 0.8214 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.02205, allocations: 436.1 kB / 0.8218 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.02212, allocations: 31.84 kB / 0.8219 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.02216, allocations: 1.688 kB / 0.8219 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.02226, allocations: 8 kB / 0.8219 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.02234, allocations: 23.84 kB / 0.8219 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.02238, allocations: 16 kB / 0.8219 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004223/0.0228, allocations: 287.5 kB / 0.8222 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0228, allocations: 0 / 0.8222 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004456/0.02325, allocations: 85.2 kB / 0.8223 GB, free: 5.762 MB / 0.7761 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.0002799/0.02353, allocations: 140.3 kB / 0.8224 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005222/0.02405, allocations: 255 kB / 0.8227 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02405, allocations: 0 / 0.8227 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.02427, allocations: 119.9 kB / 0.8228 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.02458, allocations: 43.5 kB / 0.8228 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.02567, allocations: 0.5863 MB / 0.8234 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.02588, allocations: 150.4 kB / 0.8235 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.02602, allocations: 49.94 kB / 0.8236 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.0261, allocations: 28.5 kB / 0.8236 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.0261, allocations: 0 / 0.8236 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of Templates: time 0.01167/0.03777, allocations: 5.424 MB / 0.8289 GB, free: 15.04 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.122353469952941]