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.001237/0.001237, allocations: 93.06 kB / 19.65 MB, free: 280 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.001285/0.001285, allocations: 169 kB / 23.02 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 0.9879/0.9879, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.079/2.079, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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 4.057e-06/4.057e-06, allocations: 0 / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.504e-05/4.91e-05, allocations: 5.828 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003057/0.003106, allocations: 0.8713 MB / 0.879 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.005018, allocations: 1.495 MB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.005132, allocations: 1.094 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005542/0.005686, allocations: 204.9 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.005811, allocations: 115 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.006731, allocations: 361.9 kB / 0.8811 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0008132/0.007545, allocations: 0.8829 MB / 0.882 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.00772, allocations: 52.56 kB / 0.8821 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005691/0.00829, allocations: 443.5 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.008731, allocations: 269.2 kB / 0.8827 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.008875, allocations: 48 kB / 0.8828 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.009165, allocations: 127.8 kB / 0.8829 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.0095, allocations: 363.2 kB / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.009707, allocations: 203.5 kB / 0.8834 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007999/0.01051, allocations: 0.7089 MB / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.01051, allocations: 0 / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of FrontEnd: time 2.094e-06/0.01052, allocations: 0 / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.01053, allocations: 0 / 0.8841 GB, free: 180 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.001198/0.01172, allocations: 0.8851 MB / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.01177, allocations: 8.031 kB / 0.885 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.01197, allocations: 72.59 kB / 0.8851 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.01257, allocations: 434.5 kB / 0.8855 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.0126, allocations: 28.61 kB / 0.8855 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.01266, allocations: 32.38 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.01295, allocations: 191.9 kB / 0.8857 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.01296, allocations: 192 / 0.8857 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.01298, allocations: 4.375 kB / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.01299, allocations: 384 / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.01312, allocations: 83.81 kB / 0.8858 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.01469, allocations: 1.071 MB / 0.8869 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.01501, allocations: 253.4 kB / 0.8871 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.01511, allocations: 79.12 kB / 0.8872 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.01512, allocations: 4 kB / 0.8872 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.01544, allocations: 274.9 kB / 0.8875 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 2.795e-06/0.01544, allocations: 0 / 0.8875 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0007099/0.01615, allocations: 445.6 kB / 0.8879 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.01621, allocations: 114.8 kB / 0.888 GB, free: 12 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.01665, allocations: 0.5221 MB / 0.8885 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.01677, allocations: 41.7 kB / 0.8885 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.01697, allocations: 284.4 kB / 0.8888 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.01702, allocations: 55.58 kB / 0.8889 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.01721, allocations: 191.1 kB / 0.889 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01739, allocations: 0.5508 MB / 0.8896 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.01748, allocations: 59.95 kB / 0.8896 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007991/0.01827, allocations: 1.677 MB / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.01852, allocations: 263.1 kB / 0.8915 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.01852, allocations: 0 / 0.8915 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004782/0.019, allocations: 340.9 kB / 0.8919 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01902, allocations: 4 kB / 0.8919 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.01903, allocations: 4 kB / 0.8919 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.01905, allocations: 4 kB / 0.8919 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.0192, allocations: 51.91 kB / 0.8919 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.01921, allocations: 4 kB / 0.8919 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.01969, allocations: 96.8 kB / 0.892 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.01971, allocations: 20 kB / 0.892 GB, free: 7.25 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.000205/0.01991, allocations: 208.4 kB / 0.8922 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.01998, allocations: 51.72 kB / 0.8923 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.02004, allocations: 39.42 kB / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.02004, allocations: 4 kB / 0.8923 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.02005, allocations: 0 / 0.8923 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.02005, allocations: 0 / 0.8923 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.0206, allocations: 328.2 kB / 0.8926 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.0206, allocations: 4 kB / 0.8926 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.02062, allocations: 4 kB / 0.8926 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.02063, allocations: 3.984 kB / 0.8926 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.02065, allocations: 8 kB / 0.8926 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.02066, allocations: 3.938 kB / 0.8927 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.02066, allocations: 4 kB / 0.8927 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.02109, allocations: 415.1 kB / 0.8931 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.02114, allocations: 47.75 kB / 0.8931 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.02117, allocations: 4 kB / 0.8931 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.02123, allocations: 8 kB / 0.8931 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.02129, allocations: 23.91 kB / 0.8931 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.02132, allocations: 19.98 kB / 0.8932 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002478/0.02157, allocations: 319 kB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02157, allocations: 0 / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004162/0.02198, allocations: 115.8 kB / 0.8936 GB, free: 5.598 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.0002385/0.02222, allocations: 153.6 kB / 0.8937 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.02262, allocations: 231.9 kB / 0.8939 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.02262, allocations: 4 kB / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.02274, allocations: 111.6 kB / 0.894 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.02301, allocations: 42.08 kB / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.02388, allocations: 0.6861 MB / 0.8948 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.151e-05/0.02395, allocations: 117.3 kB / 0.8949 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.02415, allocations: 62.94 kB / 0.8949 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.02421, allocations: 44.48 kB / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of SimCode: time 1.243e-06/0.02421, allocations: 0 / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of Templates: time 0.0124/0.03662, allocations: 9.135 MB / 0.9039 GB, free: 11.1 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.589949618093669]