Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001628/0.001628, 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.001616/0.001616, 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.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.273 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.343/3.343, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_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.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.8777 GB, free: 5.293 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.48e-05, allocations: 2.312 kB / 0.8777 GB, free: 5.289 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002073/0.002107, allocations: 0.7178 MB / 0.8784 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002816/0.002389, allocations: 60.36 kB / 0.8784 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.002441, allocations: 7.938 kB / 0.8784 GB, free: 4.527 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.002614, allocations: 14.77 kB / 0.8784 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.002668, allocations: 10.55 kB / 0.8785 GB, free: 4.508 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.002857, allocations: 25.34 kB / 0.8785 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.003091, allocations: 129.4 kB / 0.8786 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.003353, allocations: 92.83 kB / 0.8787 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.003483, allocations: 91.8 kB / 0.8788 GB, free: 4.18 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.003594, allocations: 68.36 kB / 0.8788 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.003634, allocations: 12.59 kB / 0.8789 GB, free: 4.102 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.027e-05/0.003664, allocations: 12 kB / 0.8789 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.003754, allocations: 56.44 kB / 0.8789 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.003841, allocations: 55.84 kB / 0.879 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.004143, allocations: 235.8 kB / 0.8792 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.004148, allocations: 1.594 kB / 0.8792 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004149, allocations: 0 / 0.8792 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.004155, allocations: 0 / 0.8792 GB, free: 3.75 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008326/0.004988, allocations: 421.7 kB / 0.8796 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.005042, allocations: 13.81 kB / 0.8796 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.005168, allocations: 40.75 kB / 0.8797 GB, free: 3.254 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.005508, allocations: 201.8 kB / 0.8798 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.005532, allocations: 12.75 kB / 0.8799 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.005566, allocations: 16.38 kB / 0.8799 GB, free: 3.004 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.00613, allocations: 344.3 kB / 0.8802 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.006147, allocations: 8.172 kB / 0.8802 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.006176, allocations: 12.36 kB / 0.8802 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/0.006227, allocations: 12.12 kB / 0.8802 GB, free: 2.625 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.006634, allocations: 267.8 kB / 0.8805 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.007978, allocations: 0.9139 MB / 0.8814 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.008111, allocations: 169.1 kB / 0.8815 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.008167, allocations: 88.86 kB / 0.8816 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.008216, allocations: 75.28 kB / 0.8817 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.5e-05/0.008291, allocations: 107.5 kB / 0.8818 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.008292, allocations: 0 / 0.8818 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 0.0001039/0.008396, allocations: 41.59 kB / 0.8818 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/0.008489, allocations: 126.7 kB / 0.882 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.008831, allocations: 265.6 kB / 0.8822 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.008853, allocations: 29.7 kB / 0.8822 GB, free: 484 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.009015, allocations: 183.9 kB / 0.8824 GB, free: 296 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.009018, allocations: 0 / 0.8824 GB, free: 296 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.009083, allocations: 33.7 kB / 0.8825 GB, free: 256 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.009305, allocations: 326.8 kB / 0.8828 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.362e-05/0.009388, allocations: 47.95 kB / 0.8828 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.009507, allocations: 89.97 kB / 0.8829 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.009807, allocations: 109.8 kB / 0.883 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.009809, allocations: 4 kB / 0.883 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003529/0.01016, allocations: 169.4 kB / 0.8832 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.01018, allocations: 9.875 kB / 0.8832 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01019, allocations: 0 / 0.8832 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.01021, allocations: 4 kB / 0.8832 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01032, allocations: 23.92 kB / 0.8832 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01033, allocations: 0 / 0.8832 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.01042, allocations: 32.08 kB / 0.8832 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.01044, allocations: 8 kB / 0.8832 GB, free: 15.39 MB / 0.8073 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 0.0002207/0.01066, allocations: 249 kB / 0.8835 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.01077, allocations: 120.9 kB / 0.8836 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.067e-05/0.01086, allocations: 126.2 kB / 0.8837 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-05/0.01096, allocations: 176.3 kB / 0.8839 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001133/0.01108, allocations: 180.2 kB / 0.8841 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.856e-05/0.01117, allocations: 184.2 kB / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.01154, allocations: 428.7 kB / 0.8846 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.03e-05/0.0116, allocations: 101 kB / 0.8847 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.01166, allocations: 109.1 kB / 0.8848 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.01176, allocations: 184.2 kB / 0.885 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.01187, allocations: 180.3 kB / 0.8852 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000104/0.01197, allocations: 188.2 kB / 0.8854 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001079/0.01208, allocations: 176.3 kB / 0.8855 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.01231, allocations: 319.6 kB / 0.8858 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.01239, allocations: 112.9 kB / 0.8859 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.01251, allocations: 184.2 kB / 0.8861 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01264, allocations: 113 kB / 0.8862 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.01274, allocations: 180.2 kB / 0.8864 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.01281, allocations: 105 kB / 0.8865 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002372/0.01304, allocations: 203.9 kB / 0.8867 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01304, allocations: 0 / 0.8867 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003033/0.01335, allocations: 43.78 kB / 0.8867 GB, free: 11.61 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.0001838/0.01353, allocations: 170.5 kB / 0.8869 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.01369, allocations: 63.89 kB / 0.887 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01369, allocations: 0 / 0.887 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.01369, allocations: 0 / 0.887 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.01438, allocations: 486 kB / 0.8874 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.0151, allocations: 449.2 kB / 0.8879 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.01531, allocations: 168.3 kB / 0.888 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.861e-05/0.01539, allocations: 24.48 kB / 0.888 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.01544, allocations: 12.5 kB / 0.888 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.01544, allocations: 0 / 0.888 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.004839/0.02028, allocations: 0.9932 MB / 0.889 GB, free: 9.238 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.30749019794166]