Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.001009/0.001009, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000956/0.000956, allocations: 161 kB / 23.82 MB, free: 0.75 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.9444/0.9444, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.764/1.764, allocations: 359 MB / 0.6052 GB, free: 10.98 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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.875 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.056e-05, allocations: 9.062 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001219/0.00124, allocations: 0.7801 MB / 0.7879 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007837/0.002023, allocations: 0.8755 MB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.002075, allocations: 4 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.002257, allocations: 48.78 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.002308, allocations: 47.75 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.155e-05/0.002379, allocations: 20.59 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.002481, allocations: 85.11 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.00261, allocations: 23.97 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.002697, allocations: 47.89 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.002824, allocations: 89.06 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.002846, allocations: 8 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.00286, allocations: 8 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.002915, allocations: 29.16 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.002953, allocations: 27.92 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.003066, allocations: 87.66 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003067, allocations: 0 / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003068, allocations: 5.688 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003072, allocations: 0 / 0.7893 GB, free: 10.21 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004571/0.003529, allocations: 472.9 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.003566, allocations: 12.03 kB / 0.7898 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.00361, allocations: 17.95 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.003751, allocations: 154.8 kB / 0.7899 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.00376, allocations: 384 / 0.7899 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.003777, allocations: 9.688 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.003966, allocations: 114.2 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.003973, allocations: 1.781 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.003987, allocations: 8.375 kB / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.003994, allocations: 4.125 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.004069, allocations: 23.97 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.004513, allocations: 492.2 kB / 0.7905 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.004646, allocations: 86.12 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.00469, allocations: 30.09 kB / 0.7907 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.004701, allocations: 3.938 kB / 0.7907 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.004721, allocations: 37.39 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.873e-06/0.004722, allocations: 3.984 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002025/0.004925, allocations: 85.61 kB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.004957, allocations: 81.11 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.005059, allocations: 215.6 kB / 0.7911 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.005071, allocations: 26.42 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.005124, allocations: 154.8 kB / 0.7912 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.00515, allocations: 33.44 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.005185, allocations: 27.38 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.005294, allocations: 0.4923 MB / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.005325, allocations: 8 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.005365, allocations: 33.11 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.00569, allocations: 43.31 kB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.005694, allocations: 4 kB / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001043/0.005798, allocations: 85.45 kB / 0.7919 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.005809, allocations: 4 kB / 0.7919 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005813, allocations: 1.125 kB / 0.7919 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.005826, allocations: 0 / 0.7919 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.005924, allocations: 29.91 kB / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005929, allocations: 0 / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.005974, allocations: 27.86 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.00598, allocations: 0 / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 6.356e-05/0.006043, allocations: 160.6 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.006075, allocations: 20.5 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.006106, allocations: 20.8 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.006108, allocations: 4 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006111, allocations: 0.7188 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.006114, allocations: 0 / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.006262, allocations: 153.1 kB / 0.7923 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.006264, allocations: 5.406 kB / 0.7923 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.006322, allocations: 23.97 kB / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.006325, allocations: 7.938 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.006333, allocations: 0.5312 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006333, allocations: 0 / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006334, allocations: 1.375 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.0065, allocations: 351.6 kB / 0.7927 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.00651, allocations: 11.91 kB / 0.7927 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.006523, allocations: 5.094 kB / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.006596, allocations: 19.98 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.006642, allocations: 11.95 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.006647, allocations: 5.344 kB / 0.7928 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.006701, allocations: 157.1 kB / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006701, allocations: 0 / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001742/0.006875, allocations: 20 kB / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 6.66e-05/0.006942, allocations: 100.9 kB / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.007056, allocations: 47.67 kB / 0.7931 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007058, allocations: 0 / 0.7931 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.0071, allocations: 32.95 kB / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.007334, allocations: 12.66 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.007682, allocations: 244.6 kB / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.007726, allocations: 73.77 kB / 0.7934 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.164e-05/0.007767, allocations: 19.97 kB / 0.7934 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.007806, allocations: 13.38 kB / 0.7935 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.007807, allocations: 0 / 0.7935 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of Templates: time 0.002598/0.0104, allocations: 1.248 MB / 0.7947 GB, free: 4.375 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.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.981186167802662]