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.001029/0.001029, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001228/0.001228, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9161/0.9161, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.77/1.77, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 3.286e-06/3.286e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.279e-05, allocations: 5.234 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001407/0.001439, allocations: 0.6646 MB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.002875, allocations: 1.35 MB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.002936, allocations: 7.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.003341, allocations: 191.4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.003415, allocations: 95.73 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.003917, allocations: 245.7 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.004276, allocations: 491.7 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.00432, allocations: 4 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.004523, allocations: 247.7 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.004783, allocations: 223.6 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.004828, allocations: 20 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.004983, allocations: 99.78 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.005203, allocations: 283.4 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.319e-05/0.005296, allocations: 111.8 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.00572, allocations: 0.526 MB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005723, allocations: 0 / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005724, allocations: 0 / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.005729, allocations: 0 / 1.005 GB, free: 8.484 MB / 0.9636 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.0006733/0.006402, allocations: 0.5747 MB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.006436, allocations: 8.031 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.988e-05/0.006526, allocations: 32.8 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.006879, allocations: 325.7 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006895, allocations: 16.31 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.006937, allocations: 20.38 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.00715, allocations: 180.7 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.007158, allocations: 192 / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.007174, allocations: 12.36 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.007178, allocations: 4.375 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.007297, allocations: 107.8 kB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.00755, allocations: 267 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.007866, allocations: 315.6 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.007987, allocations: 130.6 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.007995, allocations: 0 / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.00832, allocations: 291.7 kB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.008321, allocations: 0 / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.0005617/0.008882, allocations: 0.4939 MB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.008948, allocations: 122.7 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.009236, allocations: 396.5 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.009276, allocations: 37.7 kB / 1.009 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.009369, allocations: 156.8 kB / 1.009 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.0094, allocations: 43.67 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.009502, allocations: 113.6 kB / 1.009 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.00959, allocations: 346.8 kB / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.009673, allocations: 87.89 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.01024, allocations: 1.087 MB / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.01045, allocations: 257.5 kB / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01045, allocations: 0 / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003235/0.01077, allocations: 333.4 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01079, allocations: 8.031 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01079, allocations: 4 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01081, allocations: 4 kB / 1.011 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01092, allocations: 31.92 kB / 1.011 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.01093, allocations: 7.938 kB / 1.011 GB, free: 2.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.0113, allocations: 60.02 kB / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.01131, allocations: 15.98 kB / 1.011 GB, free: 2.102 MB / 0.9636 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.000162/0.01148, allocations: 203.6 kB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.01151, allocations: 32.03 kB / 1.011 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.01155, allocations: 37.94 kB / 1.011 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01156, allocations: 4 kB / 1.011 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01156, allocations: 0 / 1.011 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01157, allocations: 3.938 kB / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.01173, allocations: 205.2 kB / 1.011 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.01173, allocations: 0 / 1.011 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.01174, allocations: 8 kB / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01174, allocations: 4 kB / 1.011 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01175, allocations: 11.98 kB / 1.011 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01176, allocations: 7.938 kB / 1.011 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01176, allocations: 0 / 1.011 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.01214, allocations: 430.4 kB / 1.012 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.01217, allocations: 27.8 kB / 1.012 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.01221, allocations: 7.984 kB / 1.012 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.01226, allocations: 0 / 1.012 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.0123, allocations: 23.91 kB / 1.012 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.01232, allocations: 12 kB / 1.012 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001988/0.01252, allocations: 291 kB / 1.012 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01252, allocations: 4 kB / 1.012 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000266/0.01278, allocations: 79.88 kB / 1.012 GB, free: 0.6758 MB / 0.9636 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.0002016/0.01298, allocations: 144.6 kB / 1.012 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.01329, allocations: 253.9 kB / 1.013 GB, free: 288 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01329, allocations: 192 / 1.013 GB, free: 288 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.01344, allocations: 151.9 kB / 1.013 GB, free: 136 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.01364, allocations: 24.64 kB / 1.013 GB, free: 112 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.0143, allocations: 0.6041 MB / 1.013 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.01441, allocations: 153.2 kB / 1.014 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.01446, allocations: 28.5 kB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of SimCode: time 4.61e-07/0.01446, allocations: 0 / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of Templates: time 0.004512/0.01897, allocations: 4.4 MB / 1.018 GB, free: 10.93 MB / 0.9792 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=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: 7.017292904667556]