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.001666/0.001666, allocations: 106.2 kB / 18.94 MB, free: 2.953 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.002036/0.002036, allocations: 195 kB / 22.23 MB, free: 5.133 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.591/1.591, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.641/3.641, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002141/0.002141, allocations: 64.27 kB / 1.145 GB, free: 30.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4645, allocations: 174.9 MB / 1.316 GB, free: 9.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002729/0.4673, allocations: 0.6834 MB / 1.317 GB, free: 9.098 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.4698, allocations: 1.369 MB / 1.318 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.47, allocations: 0 / 1.318 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000733/0.4707, allocations: 191.5 kB / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.4709, allocations: 103.7 kB / 1.318 GB, free: 7.426 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.472, allocations: 248.5 kB / 1.319 GB, free: 7.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.4728, allocations: 499.7 kB / 1.319 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.4728, allocations: 0 / 1.319 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004603/0.4733, allocations: 207.7 kB / 1.319 GB, free: 6.496 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.4739, allocations: 227.6 kB / 1.319 GB, free: 6.273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.474, allocations: 24 kB / 1.319 GB, free: 6.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.4744, allocations: 107.8 kB / 1.32 GB, free: 6.145 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005372/0.4749, allocations: 271.4 kB / 1.32 GB, free: 5.879 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.4753, allocations: 151.3 kB / 1.32 GB, free: 5.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.4761, allocations: 478.5 kB / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4761, allocations: 0 / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4761, allocations: 0 / 1.32 GB, free: 5.262 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.4761, allocations: 0 / 1.32 GB, free: 5.262 MB / 1.014 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.001629/0.4777, allocations: 0.567 MB / 1.321 GB, free: 4.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.4778, allocations: 12.03 kB / 1.321 GB, free: 4.648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.478, allocations: 28.8 kB / 1.321 GB, free: 4.621 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.4787, allocations: 334.4 kB / 1.321 GB, free: 4.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.4787, allocations: 8.375 kB / 1.321 GB, free: 4.262 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.4788, allocations: 20.38 kB / 1.321 GB, free: 4.242 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.4793, allocations: 188.7 kB / 1.322 GB, free: 4.043 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4793, allocations: 192 / 1.322 GB, free: 4.043 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.4793, allocations: 11.94 kB / 1.322 GB, free: 4.031 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4793, allocations: 0 / 1.322 GB, free: 4.031 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4796, allocations: 115.9 kB / 1.322 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.4802, allocations: 362.1 kB / 1.322 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.4807, allocations: 307.6 kB / 1.322 GB, free: 3.188 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.4809, allocations: 126.6 kB / 1.322 GB, free: 3.055 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.4809, allocations: 0 / 1.322 GB, free: 3.055 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005897/0.4815, allocations: 289.6 kB / 1.323 GB, free: 2.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.4815, allocations: 0 / 1.323 GB, free: 2.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001138/0.4826, allocations: 0.5054 MB / 1.323 GB, free: 2.238 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.4827, allocations: 110.8 kB / 1.323 GB, free: 2.105 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/0.4835, allocations: 396.5 kB / 1.324 GB, free: 1.703 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.4836, allocations: 45.7 kB / 1.324 GB, free: 1.652 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.4838, allocations: 152.8 kB / 1.324 GB, free: 1.496 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.4839, allocations: 35.75 kB / 1.324 GB, free: 1.461 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.4842, allocations: 117.6 kB / 1.324 GB, free: 1.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002682/0.4844, allocations: 342.8 kB / 1.324 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.4847, allocations: 83.95 kB / 1.324 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006733/0.4854, allocations: 467.8 kB / 1.325 GB, free: 340 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.4858, allocations: 265.6 kB / 1.325 GB, free: 24 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4858, allocations: 4 kB / 1.325 GB, free: 20 kB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007581/0.4866, allocations: 329.1 kB / 1.325 GB, free: 15.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.4866, allocations: 7.938 kB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4866, allocations: 7.984 kB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.4867, allocations: 8 kB / 1.325 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.4868, allocations: 27.92 kB / 1.325 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.4869, allocations: 7.938 kB / 1.325 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/0.4877, allocations: 76.3 kB / 1.326 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.4877, allocations: 8 kB / 1.326 GB, free: 15.55 MB / 1.029 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.000293/0.488, allocations: 191.7 kB / 1.326 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.4881, allocations: 31.75 kB / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.4882, allocations: 33.89 kB / 1.326 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4882, allocations: 8 kB / 1.326 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4882, allocations: 3.984 kB / 1.326 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4882, allocations: 0 / 1.326 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.4885, allocations: 260.5 kB / 1.326 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4885, allocations: 4 kB / 1.326 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.4886, allocations: 4 kB / 1.326 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4886, allocations: 7.875 kB / 1.326 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.4886, allocations: 8 kB / 1.326 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4886, allocations: 4 kB / 1.326 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4886, allocations: 3.984 kB / 1.326 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.4893, allocations: 439.3 kB / 1.327 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.4893, allocations: 23.8 kB / 1.327 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.4894, allocations: 7.938 kB / 1.327 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.4895, allocations: 7.984 kB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.4895, allocations: 15.98 kB / 1.327 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.4896, allocations: 11.98 kB / 1.327 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004064/0.49, allocations: 295 kB / 1.327 GB, free: 14.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.49, allocations: 4 kB / 1.327 GB, free: 14.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004639/0.4904, allocations: 71.94 kB / 1.327 GB, free: 14.07 MB / 1.029 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.0003241/0.4908, allocations: 147.5 kB / 1.327 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005987/0.4914, allocations: 258.5 kB / 1.327 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4914, allocations: 0 / 1.327 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.4916, allocations: 111.9 kB / 1.327 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.4919, allocations: 28.64 kB / 1.327 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.4931, allocations: 0.5725 MB / 1.328 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.4937, allocations: 0.7675 MB / 1.329 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.4938, allocations: 45.94 kB / 1.329 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.494, allocations: 27.38 kB / 1.329 GB, free: 12.06 MB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/0.494, allocations: 0 / 1.329 GB, free: 12.06 MB / 1.029 GB Notification: Performance of Templates: time 0.01346/0.5075, allocations: 5.115 MB / 1.334 GB, free: 6.984 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.587043569423258]