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.001142/0.001142, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001772/0.002914, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00118/0.00118, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002728, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9544/0.9544, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08911/1.044, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.402/2.402, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2571/2.659, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",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.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.443e-05, allocations: 2.312 kB / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001533/0.001558, allocations: 0.7887 MB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001299/0.001688, allocations: 55.77 kB / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.00173, allocations: 7.938 kB / 0.8198 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.082e-05/0.00182, allocations: 23.8 kB / 0.8199 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.001857, allocations: 7.984 kB / 0.8199 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.96e-05/0.001957, allocations: 26.36 kB / 0.8199 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.0021, allocations: 123.6 kB / 0.82 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.002243, allocations: 90.19 kB / 0.8201 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.002345, allocations: 108.5 kB / 0.8202 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.002417, allocations: 71.81 kB / 0.8203 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.002459, allocations: 12 kB / 0.8203 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.198e-05/0.002481, allocations: 12 kB / 0.8203 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.002538, allocations: 47.8 kB / 0.8203 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.002578, allocations: 35.81 kB / 0.8204 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.002724, allocations: 159.4 kB / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.002733, allocations: 0 / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002733, allocations: 0 / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.002744, allocations: 0 / 0.8205 GB, free: 0.8555 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.0004141/0.003158, allocations: 439.9 kB / 0.8209 GB, free: 408 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.003191, allocations: 8.031 kB / 0.8209 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.003243, allocations: 24.92 kB / 0.821 GB, free: 376 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.003416, allocations: 177.4 kB / 0.8211 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.003427, allocations: 12.75 kB / 0.8211 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.003448, allocations: 20.36 kB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.003661, allocations: 200.4 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.003669, allocations: 3.938 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.003685, allocations: 11.98 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.003708, allocations: 8 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.00378, allocations: 70.16 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.004297, allocations: 0.7255 MB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.508e-05/0.004352, allocations: 165.1 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.004374, allocations: 80.14 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.004393, allocations: 79.28 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.00442, allocations: 105.8 kB / 0.8226 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.004421, allocations: 0 / 0.8226 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.403e-05/0.004475, allocations: 37.62 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.004511, allocations: 126.9 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.004776, allocations: 192.3 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.004783, allocations: 25.7 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.004848, allocations: 175.9 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-06/0.004852, allocations: 4 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.004885, allocations: 25.66 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.004958, allocations: 326.8 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.004972, allocations: 7.984 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.005004, allocations: 46 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.005071, allocations: 72.69 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005073, allocations: 0 / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.924e-05/0.005173, allocations: 73.55 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005183, allocations: 5.25 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.005189, allocations: 7.938 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.0052, allocations: 0 / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.005276, allocations: 24.14 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.005281, allocations: 16.08 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.005323, allocations: 19.92 kB / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.005339, allocations: 8 kB / 0.8237 GB, free: 13.36 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 6.072e-05/0.0054, allocations: 188 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.005437, allocations: 116.9 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.005475, allocations: 117.5 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/0.00551, allocations: 180.2 kB / 0.8243 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.964e-05/0.00555, allocations: 188.4 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/0.005588, allocations: 184.2 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.005724, allocations: 365.3 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.005744, allocations: 105 kB / 0.8251 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.005765, allocations: 104.9 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.005795, allocations: 116.9 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.549e-05/0.005831, allocations: 176.3 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.005871, allocations: 184.2 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.555e-05/0.005906, allocations: 180.2 kB / 0.8258 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-05/0.005948, allocations: 180.2 kB / 0.826 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.006049, allocations: 315.7 kB / 0.8263 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.00623, allocations: 180.3 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.006288, allocations: 105 kB / 0.8266 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.006333, allocations: 192.2 kB / 0.8267 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.006357, allocations: 101 kB / 0.8268 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.006403, allocations: 57.8 kB / 0.8269 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006403, allocations: 0 / 0.8269 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001423/0.006545, allocations: 35.89 kB / 0.8269 GB, free: 9.883 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.0001024/0.006648, allocations: 155.6 kB / 0.8271 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.419e-05/0.006722, allocations: 29.28 kB / 0.8271 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.006726, allocations: 4 kB / 0.8271 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.006729, allocations: 4.094 kB / 0.8271 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.007096, allocations: 0.6385 MB / 0.8277 GB, free: 9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.007467, allocations: 416.1 kB / 0.8281 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.007517, allocations: 87.3 kB / 0.8282 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.007548, allocations: 16.42 kB / 0.8282 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.007617, allocations: 67.36 kB / 0.8283 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.007618, allocations: 0 / 0.8283 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of Templates: time 0.002998/0.01062, allocations: 1.107 MB / 0.8294 GB, free: 7.289 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.11497956328094]