Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.0009793/0.0009793, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009691/0.0009691, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9486/0.9486, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.812/1.812, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.[0-9,]+.|booTimTabTwi.y.[0-9,]+.|booTimTabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.[0-9,]+.|booTimTabTwi.y.[0-9,]+.|booTimTabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/2.01e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001881/0.001901, allocations: 0.8625 MB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.00398, allocations: 1.499 MB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.004072, allocations: 9.188 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.00462, allocations: 194 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.004771, allocations: 109.6 kB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.005695, allocations: 374 kB / 0.7901 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009111/0.006606, allocations: 0.8749 MB / 0.7909 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.00678, allocations: 55.53 kB / 0.791 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/0.007306, allocations: 447.4 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.007739, allocations: 271.5 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.007899, allocations: 44 kB / 0.7917 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.008201, allocations: 119.8 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.008656, allocations: 364 kB / 0.7922 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.00896, allocations: 203.5 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008643/0.009825, allocations: 0.7066 MB / 0.7931 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.009827, allocations: 4 kB / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.009828, allocations: 0 / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.009838, allocations: 0 / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001249/0.01109, allocations: 0.8862 MB / 0.7939 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01113, allocations: 11.97 kB / 0.7939 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.01133, allocations: 66.25 kB / 0.794 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.01198, allocations: 434.5 kB / 0.7944 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.01201, allocations: 24.61 kB / 0.7944 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.01211, allocations: 36.38 kB / 0.7945 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.01244, allocations: 193.1 kB / 0.7947 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.01245, allocations: 4.188 kB / 0.7947 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.01247, allocations: 4.375 kB / 0.7947 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01248, allocations: 4.375 kB / 0.7947 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.01265, allocations: 83.77 kB / 0.7948 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.0137, allocations: 1.068 MB / 0.7958 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.01397, allocations: 249.8 kB / 0.796 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.345e-05/0.01406, allocations: 83.8 kB / 0.7961 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.01407, allocations: 8 kB / 0.7961 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.01433, allocations: 277.5 kB / 0.7964 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.01433, allocations: 0 / 0.7964 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0005557/0.01488, allocations: 441.1 kB / 0.7968 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.01494, allocations: 119.3 kB / 0.7969 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.01532, allocations: 0.5078 MB / 0.7974 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/0.01538, allocations: 49.69 kB / 0.7975 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.01557, allocations: 284.3 kB / 0.7977 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.01561, allocations: 51.64 kB / 0.7978 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.01578, allocations: 184.3 kB / 0.798 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.01595, allocations: 0.5547 MB / 0.7985 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.01602, allocations: 67.81 kB / 0.7986 GB, free: 472 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008338/0.01686, allocations: 1.681 MB / 0.8002 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.01709, allocations: 267 kB / 0.8005 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.01709, allocations: 8 kB / 0.8005 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003624/0.01745, allocations: 323.7 kB / 0.8008 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01747, allocations: 8 kB / 0.8008 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01748, allocations: 7.438 kB / 0.8008 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01749, allocations: 4 kB / 0.8008 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.01762, allocations: 47.91 kB / 0.8009 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.01763, allocations: 11.94 kB / 0.8009 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.01804, allocations: 95.88 kB / 0.801 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.01805, allocations: 16 kB / 0.801 GB, free: 13.45 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001504/0.0182, allocations: 209.3 kB / 0.8012 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.01825, allocations: 53.28 kB / 0.8012 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.0183, allocations: 47.42 kB / 0.8013 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.0183, allocations: 0 / 0.8013 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.0183, allocations: 4 kB / 0.8013 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01831, allocations: 0.8125 kB / 0.8013 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.01854, allocations: 312.3 kB / 0.8016 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01854, allocations: 0 / 0.8016 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.01855, allocations: 12.88 kB / 0.8016 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.01856, allocations: 0 / 0.8016 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01857, allocations: 8.641 kB / 0.8016 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01857, allocations: 8 kB / 0.8016 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01857, allocations: 0.6562 kB / 0.8016 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.01893, allocations: 419.1 kB / 0.802 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.01898, allocations: 46.12 kB / 0.802 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.019, allocations: 11.98 kB / 0.8021 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.885e-05/0.01905, allocations: 0 / 0.8021 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.0191, allocations: 23.97 kB / 0.8021 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.01912, allocations: 12 kB / 0.8021 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002328/0.01936, allocations: 327 kB / 0.8024 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01936, allocations: 2.938 kB / 0.8024 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003108/0.01967, allocations: 107.9 kB / 0.8025 GB, free: 11.82 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001887/0.01986, allocations: 165.6 kB / 0.8027 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.02016, allocations: 223.7 kB / 0.8029 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02016, allocations: 3.938 kB / 0.8029 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.02028, allocations: 120.6 kB / 0.803 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.02048, allocations: 49.67 kB / 0.803 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.02124, allocations: 0.6759 MB / 0.8037 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.02133, allocations: 121.1 kB / 0.8038 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000127/0.02146, allocations: 67.59 kB / 0.8039 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.02153, allocations: 40.48 kB / 0.8039 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of SimCode: time 3.5e-07/0.02153, allocations: 0 / 0.8039 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.0112/0.03273, allocations: 9.117 MB / 0.8128 GB, free: 1.34 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_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.197925378102809]