Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001399/0.001399, allocations: 88.72 kB / 19.44 MB, free: 356 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.001693/0.001693, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.832/1.832, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.459/3.459, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_latest_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.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.8777 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.501e-05, allocations: 6.312 kB / 0.8777 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002209/0.002244, allocations: 0.7351 MB / 0.8784 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002989/0.002543, allocations: 51.83 kB / 0.8784 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.002604, allocations: 8.484 kB / 0.8784 GB, free: 4.508 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.002783, allocations: 23.48 kB / 0.8785 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.002836, allocations: 5.297 kB / 0.8785 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.003021, allocations: 29.94 kB / 0.8785 GB, free: 4.457 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.00329, allocations: 127.3 kB / 0.8786 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.003534, allocations: 88.83 kB / 0.8787 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.003689, allocations: 96.52 kB / 0.8788 GB, free: 4.152 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.003814, allocations: 67.88 kB / 0.8789 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.003855, allocations: 9.344 kB / 0.8789 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.003887, allocations: 12 kB / 0.8789 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.003986, allocations: 59.77 kB / 0.8789 GB, free: 4.008 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.004074, allocations: 49.44 kB / 0.879 GB, free: 3.961 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.004414, allocations: 235.2 kB / 0.8792 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004417, allocations: 0 / 0.8792 GB, free: 3.73 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.547e-06/0.004421, allocations: 4 kB / 0.8792 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.004428, allocations: 1.5 kB / 0.8792 GB, free: 3.727 MB / 0.7917 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.0006766/0.005105, allocations: 425.6 kB / 0.8796 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.005144, allocations: 8.031 kB / 0.8796 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.005258, allocations: 44.75 kB / 0.8797 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.005598, allocations: 197 kB / 0.8799 GB, free: 3.012 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.005624, allocations: 16.75 kB / 0.8799 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.005663, allocations: 20.31 kB / 0.8799 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.00629, allocations: 345.6 kB / 0.8802 GB, free: 2.625 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.006301, allocations: 192 / 0.8802 GB, free: 2.625 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.006328, allocations: 12.38 kB / 0.8802 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.006375, allocations: 20.11 kB / 0.8803 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.006805, allocations: 263.8 kB / 0.8805 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.008271, allocations: 0.9223 MB / 0.8814 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.008401, allocations: 173.1 kB / 0.8816 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.008458, allocations: 81.48 kB / 0.8816 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.008502, allocations: 75.28 kB / 0.8817 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.581e-05/0.008588, allocations: 113.8 kB / 0.8818 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.008589, allocations: 4 kB / 0.8818 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 0.0001081/0.008697, allocations: 37.61 kB / 0.8819 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002361/0.008933, allocations: 126.7 kB / 0.882 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.009306, allocations: 268.3 kB / 0.8822 GB, free: 476 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.009326, allocations: 29.7 kB / 0.8823 GB, free: 440 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.009493, allocations: 188 kB / 0.8825 GB, free: 248 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.009497, allocations: 0 / 0.8825 GB, free: 248 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.009561, allocations: 29.7 kB / 0.8825 GB, free: 212 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.009785, allocations: 322.8 kB / 0.8828 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.00988, allocations: 51.95 kB / 0.8828 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.01004, allocations: 106.8 kB / 0.8829 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.01022, allocations: 114.8 kB / 0.8831 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01022, allocations: 3.938 kB / 0.8831 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003813/0.0106, allocations: 193.3 kB / 0.8832 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.01062, allocations: 4 kB / 0.8832 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.01063, allocations: 4 kB / 0.8832 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.01065, allocations: 0 / 0.8832 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.01077, allocations: 23.92 kB / 0.8833 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.01078, allocations: 7.938 kB / 0.8833 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.01087, allocations: 12 kB / 0.8833 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.01089, allocations: 4 kB / 0.8833 GB, free: 15.31 MB / 0.8073 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 0.0002544/0.01114, allocations: 253.3 kB / 0.8835 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.01126, allocations: 132.8 kB / 0.8837 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.759e-05/0.01135, allocations: 118.2 kB / 0.8838 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001149/0.01147, allocations: 188.2 kB / 0.884 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000113/0.01158, allocations: 180.3 kB / 0.8841 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/0.01169, allocations: 180.2 kB / 0.8843 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.01211, allocations: 424.8 kB / 0.8847 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.594e-05/0.01218, allocations: 105 kB / 0.8848 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.01225, allocations: 109.1 kB / 0.8849 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.01235, allocations: 180.3 kB / 0.8851 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.01247, allocations: 188.3 kB / 0.8853 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001011/0.01257, allocations: 184.2 kB / 0.8854 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001026/0.01267, allocations: 176.3 kB / 0.8856 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.01292, allocations: 323.6 kB / 0.8859 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.01301, allocations: 116.9 kB / 0.886 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.01313, allocations: 176.3 kB / 0.8862 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.01326, allocations: 113 kB / 0.8863 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.01337, allocations: 180.2 kB / 0.8865 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.01344, allocations: 105 kB / 0.8866 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002371/0.01368, allocations: 199.9 kB / 0.8868 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01368, allocations: 0 / 0.8868 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003297/0.01401, allocations: 39.84 kB / 0.8868 GB, free: 11.53 MB / 0.8073 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.0002003/0.01421, allocations: 178.5 kB / 0.887 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01438, allocations: 67.83 kB / 0.887 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.01438, allocations: 4 kB / 0.887 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.01438, allocations: 0 / 0.887 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.01508, allocations: 477.5 kB / 0.8875 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000786/0.01587, allocations: 449.7 kB / 0.8879 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.01608, allocations: 175.5 kB / 0.8881 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.843e-05/0.01616, allocations: 24.48 kB / 0.8881 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.01621, allocations: 12.5 kB / 0.8881 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of SimCode: time 7.22e-07/0.01621, allocations: 0 / 0.8881 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.004541/0.02075, allocations: 0.9862 MB / 0.8891 GB, free: 9.148 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.663197119021788]