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.001068/0.001068, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009939/0.0009939, allocations: 173 kB / 23.49 MB, free: 1.059 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.3/2.3, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.464e-06/2.464e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.846e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001574/0.001602, allocations: 0.8672 MB / 0.879 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.003263, allocations: 1.493 MB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.003338, allocations: 7.938 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.003834, allocations: 201.1 kB / 0.8807 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.003935, allocations: 115.5 kB / 0.8808 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.004562, allocations: 362.6 kB / 0.8812 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00063/0.005192, allocations: 0.8814 MB / 0.882 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.005359, allocations: 56.55 kB / 0.8821 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.005698, allocations: 443.5 kB / 0.8825 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.006006, allocations: 267.5 kB / 0.8828 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.847e-05/0.006084, allocations: 47.98 kB / 0.8828 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.006281, allocations: 123.8 kB / 0.8829 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.006591, allocations: 363.2 kB / 0.8833 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.006777, allocations: 211.5 kB / 0.8835 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.00738, allocations: 0.7128 MB / 0.8842 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007383, allocations: 0 / 0.8842 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007384, allocations: 0 / 0.8842 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.00739, allocations: 4 kB / 0.8842 GB, free: 0.5273 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001022/0.008412, allocations: 0.9007 MB / 0.885 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.008457, allocations: 12.03 kB / 0.8851 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.008614, allocations: 60.61 kB / 0.8851 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.009236, allocations: 426.5 kB / 0.8855 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.00926, allocations: 24.61 kB / 0.8855 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.009329, allocations: 44.36 kB / 0.8856 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.009593, allocations: 184 kB / 0.8858 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.009601, allocations: 192 / 0.8858 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.009621, allocations: 8.359 kB / 0.8858 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.00963, allocations: 4.375 kB / 0.8858 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.009758, allocations: 79.83 kB / 0.8858 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01086, allocations: 1.091 MB / 0.8869 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.01116, allocations: 249.3 kB / 0.8872 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.01126, allocations: 87.11 kB / 0.8872 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.01127, allocations: 4 kB / 0.8872 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.01154, allocations: 274.9 kB / 0.8875 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.01154, allocations: 0 / 0.8875 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0006122/0.01215, allocations: 449.7 kB / 0.8879 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.01221, allocations: 110.8 kB / 0.888 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.01262, allocations: 0.5181 MB / 0.8885 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.01269, allocations: 49.69 kB / 0.8886 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.01287, allocations: 276.4 kB / 0.8889 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.01291, allocations: 47.66 kB / 0.8889 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.01308, allocations: 191.2 kB / 0.8891 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.01324, allocations: 0.5547 MB / 0.8896 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-05/0.01332, allocations: 59.95 kB / 0.8897 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007182/0.01404, allocations: 1.688 MB / 0.8913 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.01425, allocations: 263.1 kB / 0.8916 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01425, allocations: 0 / 0.8916 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003764/0.01463, allocations: 333.3 kB / 0.8919 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.01473, allocations: 8 kB / 0.8919 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01473, allocations: 0 / 0.8919 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.01475, allocations: 8 kB / 0.8919 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.01488, allocations: 51.84 kB / 0.892 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.01489, allocations: 4 kB / 0.892 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.01535, allocations: 96.25 kB / 0.8921 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.01536, allocations: 16 kB / 0.8921 GB, free: 7.578 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.0001434/0.01551, allocations: 212.4 kB / 0.8923 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.01556, allocations: 55.7 kB / 0.8923 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.01561, allocations: 35.44 kB / 0.8924 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01561, allocations: 7.938 kB / 0.8924 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01562, allocations: 4 kB / 0.8924 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01562, allocations: 3.984 kB / 0.8924 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.01585, allocations: 312.4 kB / 0.8927 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01586, allocations: 0 / 0.8927 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.01587, allocations: 11.98 kB / 0.8927 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01587, allocations: 4 kB / 0.8927 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01589, allocations: 4 kB / 0.8927 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01589, allocations: 4 kB / 0.8927 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01589, allocations: 3.984 kB / 0.8927 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.01627, allocations: 415.2 kB / 0.8931 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.01632, allocations: 51.62 kB / 0.8931 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.01635, allocations: 8 kB / 0.8932 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.01642, allocations: 7.984 kB / 0.8932 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.01648, allocations: 23.97 kB / 0.8932 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.0165, allocations: 15.98 kB / 0.8932 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002364/0.01674, allocations: 323 kB / 0.8935 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01674, allocations: 4 kB / 0.8935 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002842/0.01702, allocations: 111.8 kB / 0.8936 GB, free: 5.918 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.0001736/0.01719, allocations: 161.6 kB / 0.8938 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.01751, allocations: 228.5 kB / 0.894 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01751, allocations: 4.25 kB / 0.894 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.01763, allocations: 119.5 kB / 0.8941 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01785, allocations: 45.48 kB / 0.8942 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.01859, allocations: 0.6853 MB / 0.8948 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.081e-05/0.01867, allocations: 117.3 kB / 0.8949 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.01879, allocations: 62.94 kB / 0.895 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.01886, allocations: 40.48 kB / 0.895 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.01886, allocations: 0 / 0.895 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of Templates: time 0.009893/0.02875, allocations: 8.653 MB / 0.9035 GB, free: 11.89 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: 6.440489163156599]