Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001489/0.001489, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001674/0.001674, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9378/0.9378, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.784/1.784, allocations: 359 MB / 0.6052 GB, free: 11.02 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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.[0-9,]+.|matMin1.y.[0-9,]+.|matMin2.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.045e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001368/0.001388, allocations: 0.7583 MB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.001673, allocations: 59.81 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.001733, allocations: 4.688 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.001908, allocations: 19.84 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.001956, allocations: 16.83 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.002093, allocations: 22.02 kB / 0.788 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.002265, allocations: 127.6 kB / 0.7881 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.002451, allocations: 86.16 kB / 0.7882 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.00254, allocations: 95.78 kB / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.00262, allocations: 71.81 kB / 0.7884 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.002656, allocations: 12 kB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.002678, allocations: 13.31 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.00274, allocations: 47.84 kB / 0.7885 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.002792, allocations: 47.84 kB / 0.7885 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.002953, allocations: 168.6 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002956, allocations: 0 / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002956, allocations: 0 / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.002961, allocations: 1.688 kB / 0.7887 GB, free: 10.87 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004228/0.003383, allocations: 0.535 MB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.003418, allocations: 12.03 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.003481, allocations: 44.73 kB / 0.7892 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.003679, allocations: 193.1 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.003698, allocations: 16.75 kB / 0.7894 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.003721, allocations: 16.38 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.00405, allocations: 227.9 kB / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.004063, allocations: 192 / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.004083, allocations: 8.375 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.004127, allocations: 21.7 kB / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.004301, allocations: 135.9 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.00517, allocations: 1.086 MB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.918e-05/0.005249, allocations: 265.4 kB / 0.7912 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.005283, allocations: 128.4 kB / 0.7913 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.005308, allocations: 127.1 kB / 0.7914 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.005348, allocations: 156.6 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.005349, allocations: 3.938 kB / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.132e-05/0.00541, allocations: 44.36 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.005461, allocations: 170.6 kB / 0.7918 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.005635, allocations: 287.4 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.005643, allocations: 25.7 kB / 0.7921 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.742e-05/0.00574, allocations: 234.7 kB / 0.7923 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.005744, allocations: 0 / 0.7923 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.005784, allocations: 35.31 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.005904, allocations: 0.5047 MB / 0.7928 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.005926, allocations: 7.984 kB / 0.7928 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.005979, allocations: 83.09 kB / 0.7929 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.013e-05/0.006059, allocations: 95.16 kB / 0.793 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.006062, allocations: 5.125 kB / 0.793 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001558/0.006218, allocations: 95.31 kB / 0.7931 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.006231, allocations: 4 kB / 0.7931 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.006237, allocations: 4 kB / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.006248, allocations: 1.938 kB / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.006323, allocations: 23.92 kB / 0.7931 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.00633, allocations: 7.938 kB / 0.7931 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.006377, allocations: 23.89 kB / 0.7931 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.006389, allocations: 11.98 kB / 0.7931 GB, free: 5.996 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 9.581e-05/0.006485, allocations: 280.4 kB / 0.7934 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.006536, allocations: 161.3 kB / 0.7936 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.006588, allocations: 161.4 kB / 0.7937 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-05/0.006644, allocations: 268.7 kB / 0.794 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002102/0.006854, allocations: 268.1 kB / 0.7942 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.645e-05/0.00691, allocations: 272.5 kB / 0.7945 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.007148, allocations: 0.5911 MB / 0.7951 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/0.007181, allocations: 148.9 kB / 0.7952 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.007213, allocations: 152.8 kB / 0.7954 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-05/0.007268, allocations: 264.1 kB / 0.7956 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.007329, allocations: 268.5 kB / 0.7959 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.59e-05/0.007395, allocations: 277.6 kB / 0.7961 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.555e-05/0.007451, allocations: 264.1 kB / 0.7964 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.007581, allocations: 451.9 kB / 0.7968 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.007626, allocations: 164.7 kB / 0.797 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.007694, allocations: 277.2 kB / 0.7972 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.007757, allocations: 148.9 kB / 0.7974 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.007817, allocations: 268 kB / 0.7976 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.007847, allocations: 146.2 kB / 0.7978 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001289/0.007976, allocations: 196.1 kB / 0.798 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.007976, allocations: 0 / 0.798 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002137/0.008189, allocations: 43.77 kB / 0.798 GB, free: 0.832 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.0001009/0.00829, allocations: 216.2 kB / 0.7982 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.008393, allocations: 44.88 kB / 0.7983 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008394, allocations: 0 / 0.7983 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.008396, allocations: 0.6562 kB / 0.7983 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.0088, allocations: 0.7222 MB / 0.799 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.009217, allocations: 451.1 kB / 0.7994 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.086e-05/0.009278, allocations: 97.2 kB / 0.7995 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.487e-05/0.009323, allocations: 20.47 kB / 0.7995 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.009355, allocations: 16.5 kB / 0.7995 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of SimCode: time 6.01e-07/0.009356, allocations: 0 / 0.7995 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of Templates: time 0.002662/0.01202, allocations: 1.04 MB / 0.8005 GB, free: 14.23 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.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.994665700010955]