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.001089/0.001089, allocations: 93.06 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.001759/0.001759, allocations: 165 kB / 23.01 MB, free: 1.551 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.055/1.055, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.258/2.258, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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 3.145e-06/3.145e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.631e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002168/0.002204, allocations: 0.7006 MB / 0.8789 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.00424, allocations: 1.385 MB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.00432, allocations: 1 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.004926, allocations: 195.8 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.00505, allocations: 103.6 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008913/0.005941, allocations: 245.2 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005895/0.006531, allocations: 481.3 kB / 0.8812 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.006576, allocations: 4 kB / 0.8812 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.006894, allocations: 261 kB / 0.8814 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.007283, allocations: 219.6 kB / 0.8817 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.93e-05/0.007373, allocations: 20 kB / 0.8817 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.007638, allocations: 95.83 kB / 0.8818 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003778/0.008016, allocations: 275.4 kB / 0.882 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.008204, allocations: 111.8 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.008826, allocations: 430.7 kB / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.008831, allocations: 0 / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/0.008832, allocations: 0 / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.00884, allocations: 0 / 0.8825 GB, free: 1.848 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.001067/0.009908, allocations: 0.6708 MB / 0.8832 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.009956, allocations: 8.031 kB / 0.8832 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.01013, allocations: 36.75 kB / 0.8832 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.01064, allocations: 292.5 kB / 0.8835 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.01067, allocations: 16.38 kB / 0.8835 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.01074, allocations: 24.36 kB / 0.8836 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.01101, allocations: 125.2 kB / 0.8837 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.307e-05/0.01107, allocations: 4.172 kB / 0.8837 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.01111, allocations: 384 / 0.8837 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.01112, allocations: 4.375 kB / 0.8837 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.01125, allocations: 51.84 kB / 0.8837 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.01162, allocations: 283.9 kB / 0.884 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.01189, allocations: 197.2 kB / 0.8842 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.842e-05/0.01198, allocations: 71.08 kB / 0.8843 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.01198, allocations: 3.938 kB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.01227, allocations: 255.8 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.01227, allocations: 4 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0005517/0.01282, allocations: 377.2 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.01289, allocations: 110.8 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.01323, allocations: 382.2 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.01328, allocations: 41.7 kB / 0.8854 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.0134, allocations: 207.5 kB / 0.8856 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.01344, allocations: 43.73 kB / 0.8856 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01357, allocations: 115.3 kB / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.01372, allocations: 0.5235 MB / 0.8862 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.01378, allocations: 55.97 kB / 0.8863 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.01428, allocations: 1.066 MB / 0.8873 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.01447, allocations: 262.7 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01447, allocations: 0 / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003042/0.01478, allocations: 273 kB / 0.8878 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.0148, allocations: 8 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.0148, allocations: 4.406 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.01482, allocations: 8 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.01499, allocations: 43.92 kB / 0.8879 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.015, allocations: 11.92 kB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.01529, allocations: 56.53 kB / 0.888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.0153, allocations: 16 kB / 0.888 GB, free: 11.59 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.0001181/0.01542, allocations: 194.4 kB / 0.8882 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.01546, allocations: 35.75 kB / 0.8882 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.0155, allocations: 29.95 kB / 0.8882 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.0155, allocations: 4.234 kB / 0.8882 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01551, allocations: 0 / 0.8882 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01551, allocations: 7.922 kB / 0.8883 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.01575, allocations: 224.5 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01575, allocations: 0 / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.01576, allocations: 4 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.01576, allocations: 4 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.01578, allocations: 15.98 kB / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01578, allocations: 0 / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01578, allocations: 0 / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.0161, allocations: 367.3 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.01614, allocations: 27.8 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.01616, allocations: 4 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.01621, allocations: 0 / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.01625, allocations: 27.91 kB / 0.8889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.01628, allocations: 15.98 kB / 0.8889 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001486/0.01642, allocations: 247 kB / 0.8891 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01642, allocations: 0 / 0.8891 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002671/0.01669, 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.0002261/0.01692, allocations: 143.9 kB / 0.8894 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.01719, allocations: 197.9 kB / 0.8895 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01719, allocations: 0 / 0.8895 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.01728, allocations: 91.52 kB / 0.8896 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.0175, allocations: 41.39 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.0005975/0.0181, allocations: 494.6 kB / 0.8901 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.01815, allocations: 92.3 kB / 0.8902 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.373e-05/0.01822, allocations: 29.95 kB / 0.8903 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.01827, allocations: 32.48 kB / 0.8903 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.01827, allocations: 4 kB / 0.8903 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of Templates: time 0.007288/0.02556, allocations: 5.458 MB / 0.8956 GB, free: 3.715 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.890311548020691]