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.00095/0.00095, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009922/0.0009922, allocations: 170.4 kB / 24.86 MB, free: 8.355 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.9936/0.9936, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.787/1.787, allocations: 359 MB / 0.6063 GB, free: 10.9 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.773e-06/1.773e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.933e-05, allocations: 5.75 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001433/0.001462, allocations: 0.7453 MB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002071/0.001669, allocations: 55.81 kB / 0.7892 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.001717, allocations: 4.719 kB / 0.7892 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.001866, allocations: 19.8 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.001911, allocations: 12.92 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.002047, allocations: 34.02 kB / 0.7892 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.002194, allocations: 123.6 kB / 0.7894 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.002358, allocations: 85.98 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.002435, allocations: 95.8 kB / 0.7895 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.002503, allocations: 67.88 kB / 0.7896 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.00253, allocations: 14.78 kB / 0.7896 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.002547, allocations: 8 kB / 0.7896 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.002607, allocations: 63.77 kB / 0.7897 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.002652, allocations: 47.84 kB / 0.7897 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.002813, allocations: 163.4 kB / 0.7899 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002815, allocations: 0 / 0.7899 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002816, allocations: 3.938 kB / 0.7899 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.002821, allocations: 1.438 kB / 0.7899 GB, free: 10.65 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.0004007/0.003221, allocations: 0.5312 MB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.003253, allocations: 12.03 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.003306, allocations: 36.8 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.003463, allocations: 180.8 kB / 0.7906 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.003477, allocations: 13.62 kB / 0.7906 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.003497, allocations: 20.38 kB / 0.7906 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.003711, allocations: 202.7 kB / 0.7908 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.003724, allocations: 4.906 kB / 0.7908 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.003738, allocations: 4.375 kB / 0.7908 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.003768, allocations: 21.66 kB / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.003848, allocations: 65.64 kB / 0.7909 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.004504, allocations: 1.013 MB / 0.7919 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.004601, allocations: 269.4 kB / 0.7922 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.004635, allocations: 128 kB / 0.7923 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.004663, allocations: 119.2 kB / 0.7924 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.004716, allocations: 152.6 kB / 0.7926 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.004717, allocations: 0.5625 kB / 0.7926 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.736e-05/0.004774, allocations: 40.19 kB / 0.7926 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.004828, allocations: 174.5 kB / 0.7928 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.004979, allocations: 275.2 kB / 0.793 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.004987, allocations: 29.69 kB / 0.7931 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.005083, allocations: 242.6 kB / 0.7933 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.005085, allocations: 0 / 0.7933 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.005122, allocations: 35.36 kB / 0.7933 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.005239, allocations: 0.5084 MB / 0.7938 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.005254, allocations: 0.7188 kB / 0.7938 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-05/0.005297, allocations: 73.78 kB / 0.7939 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.005632, allocations: 84.52 kB / 0.794 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005634, allocations: 0 / 0.794 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001315/0.005766, allocations: 83.84 kB / 0.794 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.00578, allocations: 9.875 kB / 0.7941 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005785, allocations: 1.375 kB / 0.7941 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.005793, allocations: 4 kB / 0.7941 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.005857, allocations: 19.92 kB / 0.7941 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.00586, allocations: 4 kB / 0.7941 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.005906, allocations: 25.75 kB / 0.7941 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.005918, allocations: 11.94 kB / 0.7941 GB, free: 6.039 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 9.304e-05/0.006011, allocations: 279.8 kB / 0.7944 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.006063, allocations: 160.7 kB / 0.7945 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.006111, allocations: 166.3 kB / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/0.006162, allocations: 272 kB / 0.795 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.264e-05/0.006215, allocations: 268 kB / 0.7952 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/0.006267, allocations: 264.9 kB / 0.7955 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.006466, allocations: 0.5394 MB / 0.796 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.006497, allocations: 150.6 kB / 0.7961 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.006528, allocations: 144.9 kB / 0.7963 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-05/0.006586, allocations: 276 kB / 0.7965 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.006646, allocations: 268.1 kB / 0.7968 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.734e-05/0.006704, allocations: 268.9 kB / 0.7971 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-05/0.00676, allocations: 268.1 kB / 0.7973 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.006889, allocations: 454 kB / 0.7977 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.006935, allocations: 164.8 kB / 0.7979 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.007001, allocations: 272 kB / 0.7982 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.007064, allocations: 148.9 kB / 0.7983 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.007121, allocations: 268.1 kB / 0.7986 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.007156, allocations: 152.8 kB / 0.7987 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.007232, allocations: 190.3 kB / 0.7989 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007232, allocations: 0 / 0.7989 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00017/0.007402, allocations: 35.83 kB / 0.7989 GB, free: 0.9453 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 0.0001459/0.007548, allocations: 214.4 kB / 0.7991 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.796e-05/0.007646, allocations: 28.64 kB / 0.7991 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.007648, allocations: 1.906 kB / 0.7992 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.00765, allocations: 0 / 0.7992 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.008081, allocations: 0.7372 MB / 0.7999 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.008485, allocations: 451.1 kB / 0.8003 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.223e-05/0.008537, allocations: 96.42 kB / 0.8004 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.008573, allocations: 12.48 kB / 0.8004 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.008634, allocations: 82.19 kB / 0.8005 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of SimCode: time 7.01e-07/0.008634, allocations: 0.5625 kB / 0.8005 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of Templates: time 0.003098/0.01173, allocations: 1.069 MB / 0.8015 GB, free: 14.25 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: 5.09727229597047]