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.0009721/0.0009721, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001163/0.001163, allocations: 173 kB / 23.03 MB, free: 1.543 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 2.076/2.076, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.[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 4.028e-06/4.028e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.417e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001455/0.001489, allocations: 0.6977 MB / 0.8789 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.003, allocations: 1.38 MB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.00307, allocations: 3.938 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.003585, allocations: 189.2 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.003675, allocations: 101.7 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.004416, allocations: 245.4 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.004857, allocations: 490.4 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.004897, allocations: 3.984 kB / 0.8812 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.005111, allocations: 255.7 kB / 0.8814 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.005397, allocations: 222 kB / 0.8817 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.005459, allocations: 20 kB / 0.8817 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.005654, allocations: 99.77 kB / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.005907, allocations: 275.4 kB / 0.882 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.006023, allocations: 115.7 kB / 0.8821 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.006422, allocations: 424.1 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006425, allocations: 0 / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006426, allocations: 0 / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.006433, allocations: 4 kB / 0.8826 GB, free: 1.836 MB / 0.8386 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.0007576/0.00719, allocations: 0.6718 MB / 0.8832 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.007226, allocations: 9.625 kB / 0.8832 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.00734, allocations: 40.73 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.007657, allocations: 292.6 kB / 0.8835 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.007674, allocations: 12.38 kB / 0.8836 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.007715, allocations: 22.84 kB / 0.8836 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.00791, allocations: 133.1 kB / 0.8837 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.007917, allocations: 192 / 0.8837 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.007931, allocations: 384 / 0.8837 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.007939, allocations: 4.375 kB / 0.8837 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.008009, allocations: 51.89 kB / 0.8838 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.00826, allocations: 279.9 kB / 0.884 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.008497, allocations: 207.2 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.008577, allocations: 63.09 kB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.008582, allocations: 4 kB / 0.8843 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.008824, allocations: 253.6 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.008826, allocations: 0 / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0005111/0.009337, allocations: 377.3 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.009387, allocations: 114.8 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.009644, allocations: 382.2 kB / 0.8854 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.009689, allocations: 45.69 kB / 0.8854 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.009795, allocations: 203.5 kB / 0.8856 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.00983, allocations: 47.67 kB / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.009936, allocations: 119.2 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.01006, allocations: 0.5196 MB / 0.8863 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.01013, allocations: 59.97 kB / 0.8863 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.01058, allocations: 1.066 MB / 0.8874 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.01077, allocations: 254.8 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01077, allocations: 4 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002947/0.01107, allocations: 273 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01108, allocations: 4 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.01109, allocations: 4 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01111, allocations: 4.406 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.01124, allocations: 51.91 kB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.01125, allocations: 11.88 kB / 0.8879 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.01154, allocations: 60.77 kB / 0.888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01155, allocations: 12 kB / 0.888 GB, free: 11.58 MB / 0.8542 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.0001164/0.01167, allocations: 194.5 kB / 0.8882 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.0117, allocations: 35.81 kB / 0.8882 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.01174, allocations: 25.95 kB / 0.8883 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01174, allocations: 8 kB / 0.8883 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.01175, allocations: 0 / 0.8883 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.01175, allocations: 11.92 kB / 0.8883 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.01191, allocations: 216.5 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01191, allocations: 4 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.01192, allocations: 0 / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01192, allocations: 7.984 kB / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.01193, allocations: 11.94 kB / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01194, allocations: 0 / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01194, allocations: 3.938 kB / 0.8885 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.01225, allocations: 359.4 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.01228, allocations: 31.8 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.0123, allocations: 7.984 kB / 0.8889 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.01235, allocations: 4 kB / 0.8889 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.01239, allocations: 19.92 kB / 0.8889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.01242, allocations: 15.98 kB / 0.8889 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001492/0.01257, allocations: 247 kB / 0.8892 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01257, allocations: 0 / 0.8892 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002725/0.01284, allocations: 75.94 kB / 0.8892 GB, free: 10.25 MB / 0.8542 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.0001688/0.01301, allocations: 143.9 kB / 0.8894 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.01326, allocations: 201.9 kB / 0.8896 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01326, allocations: 0 / 0.8896 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.01335, allocations: 91.58 kB / 0.8896 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01355, allocations: 33.41 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.01409, allocations: 494.6 kB / 0.8902 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.066e-05/0.01414, allocations: 96.3 kB / 0.8902 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.531e-05/0.0142, allocations: 29.94 kB / 0.8903 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.01425, allocations: 28.5 kB / 0.8903 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of SimCode: time 6.52e-07/0.01425, allocations: 4 kB / 0.8903 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of Templates: time 0.007422/0.02167, allocations: 5.796 MB / 0.896 GB, free: 3.379 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.438654872123152]