Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001146/0.001146, allocations: 89.06 kB / 19.65 MB, free: 284 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.0009829/0.0009829, allocations: 165 kB / 23.01 MB, free: 1.559 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.154/2.154, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.152e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002084/0.002115, allocations: 0.8699 MB / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.004214, allocations: 1.495 MB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.004312, allocations: 9.844 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.004842, allocations: 197.6 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.004988, allocations: 119 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009514/0.005939, allocations: 365.8 kB / 0.8812 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0009595/0.006899, allocations: 0.8712 MB / 0.882 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.007075, allocations: 60.53 kB / 0.8821 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.007654, allocations: 439.5 kB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.008093, allocations: 283.4 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.008241, allocations: 47.94 kB / 0.8828 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.008537, allocations: 119.8 kB / 0.8829 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.008973, allocations: 363.2 kB / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.009272, allocations: 211.5 kB / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009183/0.01019, allocations: 0.7089 MB / 0.8842 GB, free: 188 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01019, allocations: 0 / 0.8842 GB, free: 188 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.0102, allocations: 0 / 0.8842 GB, free: 188 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.01021, allocations: 4 kB / 0.8842 GB, free: 184 kB / 0.8386 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.00144/0.01165, allocations: 0.9008 MB / 0.885 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.01169, allocations: 11.97 kB / 0.885 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.01192, allocations: 68.59 kB / 0.8851 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.01264, allocations: 418.6 kB / 0.8855 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.01267, allocations: 28.55 kB / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.01278, allocations: 36.38 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.01312, allocations: 187.9 kB / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01314, allocations: 4.188 kB / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.01317, allocations: 12.38 kB / 0.8858 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.01318, allocations: 4.375 kB / 0.8858 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.01335, allocations: 75.83 kB / 0.8858 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.01478, allocations: 1.091 MB / 0.8869 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.0151, allocations: 249.4 kB / 0.8872 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.0152, allocations: 83.06 kB / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.01521, allocations: 4 kB / 0.8872 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/0.01548, allocations: 271.5 kB / 0.8875 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.804e-06/0.01548, allocations: 4 kB / 0.8875 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0006089/0.01609, allocations: 445.7 kB / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.01615, allocations: 118.7 kB / 0.888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.01657, allocations: 0.522 MB / 0.8885 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.01663, allocations: 41.7 kB / 0.8886 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.01681, allocations: 284.4 kB / 0.8889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.01686, allocations: 55.58 kB / 0.8889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.01704, allocations: 187.2 kB / 0.8891 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.01721, allocations: 0.5508 MB / 0.8896 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.01729, allocations: 59.95 kB / 0.8897 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.01808, allocations: 1.68 MB / 0.8913 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.01833, allocations: 263.1 kB / 0.8916 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01833, allocations: 3.938 kB / 0.8916 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003872/0.01872, allocations: 329 kB / 0.8919 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01873, allocations: 4 kB / 0.8919 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01874, allocations: 4.375 kB / 0.8919 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.01876, allocations: 8 kB / 0.8919 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.01889, allocations: 47.91 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.0189, allocations: 7.938 kB / 0.892 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.01939, allocations: 108.2 kB / 0.8921 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.01941, allocations: 16 kB / 0.8921 GB, free: 7.219 MB / 0.8542 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.0001497/0.01956, allocations: 208.4 kB / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.01961, allocations: 55.72 kB / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.01966, allocations: 35.44 kB / 0.8924 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.01966, allocations: 7.984 kB / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01967, allocations: 0 / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01967, allocations: 0 / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.01992, allocations: 328.3 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01992, allocations: 0 / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.01993, allocations: 11.94 kB / 0.8927 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01993, allocations: 0 / 0.8927 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.01995, allocations: 7.984 kB / 0.8927 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01996, allocations: 4 kB / 0.8927 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01996, allocations: 4 kB / 0.8927 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.02035, allocations: 415.8 kB / 0.8931 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.0204, allocations: 47.69 kB / 0.8932 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.02043, allocations: 11.98 kB / 0.8932 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.0205, allocations: 4 kB / 0.8932 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.02055, allocations: 23.95 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.02058, allocations: 19.98 kB / 0.8932 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002435/0.02082, allocations: 323 kB / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02082, allocations: 4 kB / 0.8935 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003506/0.02117, allocations: 107.8 kB / 0.8936 GB, free: 5.559 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: 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.0002276/0.0214, allocations: 157.7 kB / 0.8938 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.02174, allocations: 225.4 kB / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02174, allocations: 0 / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.02188, allocations: 112.3 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.02212, allocations: 58.06 kB / 0.8942 GB, free: 5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007608/0.02288, allocations: 0.6814 MB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.613e-05/0.02296, allocations: 117.3 kB / 0.8949 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.02308, allocations: 62.94 kB / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.02314, allocations: 40.48 kB / 0.895 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/0.02314, allocations: 0 / 0.895 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of Templates: time 0.009823/0.03296, allocations: 8.65 MB / 0.9035 GB, free: 11.53 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.762508346699178]