Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001365/0.001365, allocations: 77.88 kB / 20.68 MB, free: 3.809 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.001562/0.001562, allocations: 181 kB / 24.09 MB, free: 412 kB / 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.9208/0.9208, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.712/1.712, allocations: 359 MB / 0.6055 GB, free: 10.86 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.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.7876 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.964e-05, allocations: 3.312 kB / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001695/0.001714, allocations: 0.7478 MB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002564/0.001971, allocations: 55.81 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.00203, allocations: 7.938 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.002187, allocations: 13.08 kB / 0.7884 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.002246, allocations: 12.67 kB / 0.7884 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.002385, allocations: 27.23 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.002552, allocations: 128.3 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.002727, allocations: 84.89 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.00283, allocations: 96.7 kB / 0.7888 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.002916, allocations: 71.81 kB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.002948, allocations: 8.656 kB / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.53e-05/0.002974, allocations: 12 kB / 0.7889 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.003039, allocations: 59.22 kB / 0.7889 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/0.003102, allocations: 51.83 kB / 0.789 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.003258, allocations: 167.4 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00326, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003261, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.003264, allocations: 0 / 0.7891 GB, free: 10.59 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003676/0.003632, allocations: 0.5273 MB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.003668, allocations: 16.02 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.003713, allocations: 36.8 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.003863, allocations: 184.8 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.003873, allocations: 12.75 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.003889, allocations: 18.03 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.004099, allocations: 202.7 kB / 0.7901 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004106, allocations: 192 / 0.7901 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.004117, allocations: 4.375 kB / 0.7901 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.004142, allocations: 21.45 kB / 0.7901 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.004215, allocations: 73.58 kB / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.004782, allocations: 1.005 MB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.00486, allocations: 269.4 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.004894, allocations: 132.5 kB / 0.7915 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.00492, allocations: 119.2 kB / 0.7917 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.004959, allocations: 152.6 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.00496, allocations: 0 / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.834e-05/0.005008, allocations: 42.66 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.005066, allocations: 170.6 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.005207, allocations: 275.2 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.005214, allocations: 27.23 kB / 0.7923 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.005305, allocations: 242.6 kB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.005306, allocations: 0 / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.005341, allocations: 35.36 kB / 0.7926 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.005453, allocations: 0.5045 MB / 0.7931 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.005467, allocations: 8.609 kB / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.005504, allocations: 65.8 kB / 0.7931 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/0.00557, allocations: 88.47 kB / 0.7932 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005572, allocations: 1.375 kB / 0.7932 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001192/0.005691, allocations: 94.72 kB / 0.7933 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.005701, allocations: 8 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005705, allocations: 0 / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.005714, allocations: 8.562 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.005767, allocations: 16.73 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.00577, allocations: 4 kB / 0.7933 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.005809, allocations: 16.95 kB / 0.7934 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.00582, allocations: 16.08 kB / 0.7934 GB, free: 5.973 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.545e-05/0.005906, allocations: 288.6 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.005953, allocations: 160.8 kB / 0.7938 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.006014, allocations: 157.4 kB / 0.7939 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.485e-05/0.006069, allocations: 276.8 kB / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/0.006119, allocations: 264.1 kB / 0.7945 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.314e-05/0.006172, allocations: 269 kB / 0.7947 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.00636, allocations: 0.5356 MB / 0.7952 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/0.006392, allocations: 148.9 kB / 0.7954 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.006423, allocations: 150 kB / 0.7955 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.399e-05/0.006477, allocations: 268.1 kB / 0.7958 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.006529, allocations: 268 kB / 0.796 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.158e-05/0.00658, allocations: 264.9 kB / 0.7963 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.556e-05/0.006636, allocations: 276 kB / 0.7966 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.006752, allocations: 458.1 kB / 0.797 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.006793, allocations: 160.7 kB / 0.7971 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.006858, allocations: 268.1 kB / 0.7974 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.939e-05/0.006917, allocations: 148.9 kB / 0.7975 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.006981, allocations: 272 kB / 0.7978 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.007009, allocations: 144.9 kB / 0.7979 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.278e-05/0.007082, allocations: 191.2 kB / 0.7981 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007082, allocations: 0 / 0.7981 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001553/0.007237, allocations: 35.83 kB / 0.7982 GB, free: 0.8867 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 8.56e-05/0.007323, allocations: 218.4 kB / 0.7984 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.444e-05/0.007387, allocations: 36.83 kB / 0.7984 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007388, allocations: 0 / 0.7984 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.007389, allocations: 0 / 0.7984 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.007724, allocations: 0.73 MB / 0.7991 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.008061, allocations: 447.1 kB / 0.7995 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.00811, allocations: 99.84 kB / 0.7996 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.008135, allocations: 9.438 kB / 0.7996 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.008187, allocations: 82.19 kB / 0.7997 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of SimCode: time 7.62e-07/0.008188, allocations: 4.938 kB / 0.7997 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.002362/0.01055, allocations: 1.058 MB / 0.8008 GB, free: 14.19 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.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: 4.719457323197275]