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.001302/0.001302, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001056/0.001056, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9544/0.9544, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.434/2.434, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 1.573e-06/1.573e-06, allocations: 0 / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.544e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001159/0.001174, allocations: 0.6918 MB / 0.8904 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.002484, allocations: 1.357 MB / 0.8918 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.002543, allocations: 4 kB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.002927, allocations: 203.3 kB / 0.892 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.003006, allocations: 107.6 kB / 0.8921 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.00354, allocations: 247.2 kB / 0.8923 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.003976, allocations: 487.8 kB / 0.8928 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.004015, allocations: 4 kB / 0.8928 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.004267, allocations: 259.7 kB / 0.893 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.004565, allocations: 187.7 kB / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.639e-05/0.004641, allocations: 20 kB / 0.8932 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.00486, allocations: 91.84 kB / 0.8933 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.005069, allocations: 219.5 kB / 0.8935 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.00517, allocations: 111.8 kB / 0.8936 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.005563, allocations: 426.8 kB / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005565, allocations: 0 / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.71e-07/0.005565, allocations: 0 / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.005569, allocations: 4 kB / 0.894 GB, free: 5.352 MB / 0.8542 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.0006297/0.006199, allocations: 0.6706 MB / 0.8947 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.006233, allocations: 8.625 kB / 0.8947 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.006316, allocations: 36.73 kB / 0.8947 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.00656, allocations: 272.6 kB / 0.895 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.006572, allocations: 12.38 kB / 0.895 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.006609, allocations: 20.38 kB / 0.895 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.006743, allocations: 113.2 kB / 0.8951 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-06/0.006748, allocations: 4.188 kB / 0.8951 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006759, allocations: 4.375 kB / 0.8951 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.006762, allocations: 4.312 kB / 0.8951 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.006809, allocations: 35.91 kB / 0.8952 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.007021, allocations: 236.5 kB / 0.8954 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.007182, allocations: 153.2 kB / 0.8955 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.007237, allocations: 59.09 kB / 0.8956 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.007242, allocations: 3.938 kB / 0.8956 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.007443, allocations: 239.8 kB / 0.8958 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.007445, allocations: 3.938 kB / 0.8958 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0006314/0.008076, allocations: 309.4 kB / 0.8961 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.00812, allocations: 110.8 kB / 0.8962 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.008342, allocations: 370.1 kB / 0.8966 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.008382, allocations: 37.7 kB / 0.8966 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.008487, allocations: 215.5 kB / 0.8968 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.008519, allocations: 39.72 kB / 0.8969 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.665e-05/0.008616, allocations: 115.2 kB / 0.897 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.008751, allocations: 0.5429 MB / 0.8975 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.008793, allocations: 35.91 kB / 0.8975 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.00921, allocations: 1.052 MB / 0.8986 GB, free: 100 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.009375, allocations: 230.8 kB / 0.8988 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009378, allocations: 4 kB / 0.8988 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002429/0.009621, allocations: 237.4 kB / 0.899 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.009634, allocations: 10.03 kB / 0.899 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.009641, allocations: 4 kB / 0.899 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.009652, allocations: 4 kB / 0.899 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.009767, allocations: 43.91 kB / 0.8991 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.009773, allocations: 8 kB / 0.8991 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.01004, allocations: 56.53 kB / 0.8991 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.01005, allocations: 12 kB / 0.8991 GB, free: 15.43 MB / 0.8698 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.0001142/0.01017, allocations: 194.5 kB / 0.8993 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.0102, allocations: 35.81 kB / 0.8994 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.01024, allocations: 26.19 kB / 0.8994 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01024, allocations: 4 kB / 0.8994 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01024, allocations: 0 / 0.8994 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.01025, allocations: 11.97 kB / 0.8994 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.01038, allocations: 173.1 kB / 0.8996 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01038, allocations: 4 kB / 0.8996 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-06/0.01039, allocations: 0 / 0.8996 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01039, allocations: 4 kB / 0.8996 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.0104, allocations: 16 kB / 0.8996 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01041, allocations: 0 / 0.8996 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01041, allocations: 3.984 kB / 0.8996 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.01068, allocations: 331.2 kB / 0.8999 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.0107, allocations: 31.78 kB / 0.8999 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01072, allocations: 0 / 0.8999 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.01077, allocations: 8 kB / 0.9 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.01079, allocations: 15.97 kB / 0.9 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.01081, allocations: 12 kB / 0.9 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001192/0.01093, allocations: 234.9 kB / 0.9002 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01093, allocations: 0 / 0.9002 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002495/0.01118, allocations: 83.92 kB / 0.9003 GB, free: 14.19 MB / 0.8698 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.000139/0.01132, allocations: 147.9 kB / 0.9004 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.0115, allocations: 147.4 kB / 0.9006 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01151, allocations: 0.8125 kB / 0.9006 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.01157, allocations: 75.56 kB / 0.9006 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.01175, allocations: 40.59 kB / 0.9007 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.01221, allocations: 462.7 kB / 0.9011 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.01226, allocations: 96.3 kB / 0.9012 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.706e-05/0.01233, allocations: 33.95 kB / 0.9012 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.01248, allocations: 146.1 kB / 0.9014 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/0.01248, allocations: 0 / 0.9014 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of Templates: time 0.006703/0.01919, allocations: 5.816 MB / 0.9071 GB, free: 7.289 MB / 0.8698 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.486654165200889]