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.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.001566/0.001567, allocations: 111.7 kB / 17.08 MB, free: 6.012 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.001614/0.001614, allocations: 191.7 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.513/1.513, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.046/3.046, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001734/1.14, allocations: 0.6939 MB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001615/1.142, allocations: 1.346 MB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/1.142, allocations: 1.688 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005141/1.142, allocations: 191.5 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/1.142, allocations: 96.94 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/1.143, allocations: 228.8 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006291/1.144, allocations: 0.4936 MB / 1.266 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/1.144, allocations: 9.984 kB / 1.266 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/1.144, allocations: 202.1 kB / 1.266 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/1.144, allocations: 208.4 kB / 1.266 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/1.145, allocations: 21.81 kB / 1.266 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/1.145, allocations: 81.66 kB / 1.266 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004232/1.145, allocations: 251.4 kB / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/1.146, allocations: 153.5 kB / 1.266 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006528/1.146, allocations: 481.5 kB / 1.267 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.146, allocations: 0.9375 kB / 1.267 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.146, allocations: 3.938 kB / 1.267 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.146, allocations: 0 / 1.267 GB, free: 5.828 MB / 0.9981 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.0009825/1.147, allocations: 0.6481 MB / 1.268 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.147, allocations: 8.938 kB / 1.268 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/1.147, allocations: 31.44 kB / 1.268 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/1.148, allocations: 381.6 kB / 1.268 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/1.148, allocations: 13.86 kB / 1.268 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.661e-05/1.148, allocations: 21.23 kB / 1.268 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/1.148, allocations: 195 kB / 1.268 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.148, allocations: 4.188 kB / 1.268 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/1.148, allocations: 6.422 kB / 1.268 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.148, allocations: 0.875 kB / 1.268 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/1.149, allocations: 112 kB / 1.268 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/1.149, allocations: 391.6 kB / 1.269 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/1.149, allocations: 315.6 kB / 1.269 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.15, allocations: 123.2 kB / 1.269 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/1.15, allocations: 4.25 kB / 1.269 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/1.15, allocations: 283.8 kB / 1.269 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/1.15, allocations: 0 / 1.269 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.000903/1.151, allocations: 0.5046 MB / 1.27 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.151, allocations: 116.5 kB / 1.27 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/1.152, allocations: 396.3 kB / 1.27 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/1.152, allocations: 42.06 kB / 1.27 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/1.152, allocations: 149.2 kB / 1.271 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/1.152, allocations: 42.2 kB / 1.271 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.152, allocations: 115.7 kB / 1.271 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/1.152, allocations: 342 kB / 1.271 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/1.152, allocations: 86.81 kB / 1.271 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/1.153, allocations: 469.7 kB / 1.272 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/1.153, allocations: 256.5 kB / 1.272 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.153, allocations: 1.531 kB / 1.272 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004955/1.153, allocations: 333.3 kB / 1.272 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.153, allocations: 14.56 kB / 1.272 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.153, allocations: 4.344 kB / 1.272 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.153, allocations: 4.188 kB / 1.272 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.154, allocations: 31.17 kB / 1.272 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.154, allocations: 6.188 kB / 1.272 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/1.154, allocations: 77.17 kB / 1.272 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/1.154, allocations: 13.77 kB / 1.272 GB, free: 2.523 MB / 0.9981 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.0001814/1.155, allocations: 193.8 kB / 1.272 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/1.155, allocations: 33.03 kB / 1.272 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/1.155, allocations: 37.97 kB / 1.272 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.155, allocations: 2.188 kB / 1.272 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.155, allocations: 1.062 kB / 1.272 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/1.155, allocations: 6.031 kB / 1.272 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/1.155, allocations: 286.8 kB / 1.273 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.155, allocations: 1.219 kB / 1.273 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/1.155, allocations: 7.812 kB / 1.273 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.155, allocations: 4.75 kB / 1.273 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/1.155, allocations: 11.98 kB / 1.273 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.155, allocations: 2.25 kB / 1.273 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.155, allocations: 5.5 kB / 1.273 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/1.156, allocations: 426.7 kB / 1.273 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/1.156, allocations: 104.3 kB / 1.273 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/1.156, allocations: 10.73 kB / 1.273 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/1.156, allocations: 4.828 kB / 1.273 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/1.156, allocations: 20.75 kB / 1.273 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/1.156, allocations: 10.81 kB / 1.273 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002869/1.156, allocations: 290.9 kB / 1.274 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.156, allocations: 1 kB / 1.274 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004188/1.157, allocations: 76.62 kB / 1.274 GB, free: 1.656 MB / 0.9981 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.0002048/1.157, allocations: 149.2 kB / 1.274 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004132/1.157, allocations: 256 kB / 1.274 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.157, allocations: 3.938 kB / 1.274 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/1.158, allocations: 177.8 kB / 1.274 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/1.158, allocations: 24.3 kB / 1.274 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/1.159, allocations: 0.5985 MB / 1.275 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/1.159, allocations: 0.7684 MB / 1.276 GB, free: 392 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/1.159, allocations: 29.98 kB / 1.276 GB, free: 380 kB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.159, allocations: 0.75 kB / 1.276 GB, free: 380 kB / 0.9981 GB Notification: Performance of Templates: time 0.007515/1.166, allocations: 4.326 MB / 1.28 GB, free: 15.95 MB / 1.014 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.295815892051905]