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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 105.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 193.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 490 MB / 0.7695 GB, free: 3.09 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002344/0.002345, allocations: 79.88 kB / 1.104 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 164 MB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002109/1.016, allocations: 0.753 MB / 1.265 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002517/1.017, allocations: 50.98 kB / 1.265 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/1.017, allocations: 5.594 kB / 1.265 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/1.017, allocations: 18.19 kB / 1.265 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/1.017, allocations: 19.06 kB / 1.265 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/1.017, allocations: 23.14 kB / 1.265 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/1.017, allocations: 119.1 kB / 1.265 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/1.018, allocations: 156.1 kB / 1.265 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/1.018, allocations: 67.73 kB / 1.265 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/1.018, allocations: 76.5 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/1.018, allocations: 12.16 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.77e-05/1.018, allocations: 11.03 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/1.018, allocations: 59.03 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.763e-05/1.018, allocations: 85 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/1.018, allocations: 234 kB / 1.266 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.018, allocations: 4.906 kB / 1.266 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/1.018, allocations: 0 / 1.266 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.018, allocations: 0 / 1.266 GB, free: 6.457 MB / 0.9981 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.0005039/1.019, allocations: 0.489 MB / 1.266 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.019, allocations: 9.688 kB / 1.266 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/1.019, allocations: 28.8 kB / 1.266 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/1.019, allocations: 252.8 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/1.019, allocations: 24.52 kB / 1.266 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/1.019, allocations: 15.56 kB / 1.266 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/1.02, allocations: 331.7 kB / 1.267 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.02, allocations: 4.625 kB / 1.267 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/1.02, allocations: 13.61 kB / 1.267 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/1.02, allocations: 16.31 kB / 1.267 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/1.02, allocations: 267.3 kB / 1.267 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/1.022, allocations: 1.083 MB / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/1.022, allocations: 166.5 kB / 1.268 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/1.022, allocations: 84.77 kB / 1.268 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/1.022, allocations: 79.28 kB / 1.268 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.022, allocations: 115.8 kB / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.022, allocations: 0 / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001078/1.022, allocations: 57.11 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/1.022, allocations: 128 kB / 1.269 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000725/1.023, allocations: 0.4904 MB / 1.269 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-06/1.023, allocations: 26.31 kB / 1.269 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.023, allocations: 173.7 kB / 1.269 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-06/1.023, allocations: 1.594 kB / 1.269 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/1.023, allocations: 32.42 kB / 1.269 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/1.023, allocations: 341.5 kB / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/1.023, allocations: 44.41 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/1.023, allocations: 99 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/1.023, allocations: 105.1 kB / 1.27 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.023, allocations: 4.875 kB / 1.27 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000348/1.024, allocations: 181.1 kB / 1.27 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.024, allocations: 5.125 kB / 1.27 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.024, allocations: 9.875 kB / 1.27 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.024, allocations: 3.266 kB / 1.27 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.024, allocations: 18.62 kB / 1.27 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/1.024, allocations: 2.953 kB / 1.27 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/1.024, allocations: 42.83 kB / 1.27 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/1.024, allocations: 12.8 kB / 1.27 GB, free: 3.18 MB / 0.9981 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.0001858/1.024, allocations: 248.8 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/1.024, allocations: 127.9 kB / 1.271 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/1.024, allocations: 140.9 kB / 1.271 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/1.025, allocations: 182.1 kB / 1.271 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.335e-05/1.025, allocations: 181.8 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/1.025, allocations: 177.7 kB / 1.271 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/1.025, allocations: 0.4888 MB / 1.272 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.025, allocations: 102.5 kB / 1.272 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/1.025, allocations: 107 kB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.116e-05/1.025, allocations: 181.7 kB / 1.272 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.861e-05/1.025, allocations: 186.2 kB / 1.272 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.711e-05/1.025, allocations: 182.6 kB / 1.272 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.751e-05/1.025, allocations: 181.8 kB / 1.273 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/1.025, allocations: 327.2 kB / 1.273 GB, free: 16.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/1.026, allocations: 223.7 kB / 1.273 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.026, allocations: 183 kB / 1.273 GB, free: 16.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.026, allocations: 106.5 kB / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/1.026, allocations: 186.3 kB / 1.274 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/1.026, allocations: 103.2 kB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004863/1.027, allocations: 362.5 kB / 1.274 GB, free: 15.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.027, allocations: 4 kB / 1.274 GB, free: 15.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002878/1.027, allocations: 23.94 kB / 1.274 GB, free: 15.47 MB / 1.014 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.0002312/1.027, allocations: 176 kB / 1.274 GB, free: 15.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001764/1.027, allocations: 67.11 kB / 1.274 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.027, allocations: 0 / 1.274 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-06/1.027, allocations: 2.75 kB / 1.274 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/1.028, allocations: 487 kB / 1.275 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/1.029, allocations: 0.4959 MB / 1.275 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/1.029, allocations: 0.7764 MB / 1.276 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/1.029, allocations: 18.56 kB / 1.276 GB, free: 13.79 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/1.029, allocations: 0 / 1.276 GB, free: 13.79 MB / 1.014 GB Notification: Performance of Templates: time 0.005309/1.035, allocations: 2.644 MB / 1.279 GB, free: 13.58 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.716984851052985]