Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001139/0.001139, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001631/0.00277, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008723/0.0008723, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009482/0.001821, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9833/0.9833, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09985/1.083, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.913/1.913, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5816/2.495, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.473e-05, allocations: 7.219 kB / 0.7294 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002481/0.002506, allocations: 0.785 MB / 0.7302 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.002668, allocations: 56.61 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.002721, allocations: 4 kB / 0.7302 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.002834, allocations: 18.27 kB / 0.7302 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.002891, allocations: 14.69 kB / 0.7303 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.00303, allocations: 33.78 kB / 0.7303 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.003257, allocations: 118.1 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.003467, allocations: 93.7 kB / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.003635, allocations: 122.3 kB / 0.7306 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.003718, allocations: 63.88 kB / 0.7307 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.003752, allocations: 12 kB / 0.7307 GB, free: 3.195 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.116e-05/0.003774, allocations: 12 kB / 0.7307 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.003838, allocations: 39.81 kB / 0.7307 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.003892, allocations: 35.88 kB / 0.7308 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.004067, allocations: 159.4 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.004081, allocations: 1.25 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004082, allocations: 0 / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.0041, allocations: 3.938 kB / 0.7309 GB, free: 2.953 MB / 0.698 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.0005178/0.004618, allocations: 432.8 kB / 0.7313 GB, free: 2.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.004657, allocations: 8.031 kB / 0.7313 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.004713, allocations: 33.44 kB / 0.7314 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.004917, allocations: 173.4 kB / 0.7315 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.004935, allocations: 18.47 kB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.004956, allocations: 16.38 kB / 0.7316 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.005207, allocations: 188.9 kB / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.005221, allocations: 7.875 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.005234, allocations: 8.812 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.005262, allocations: 15.98 kB / 0.7318 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.005342, allocations: 68.72 kB / 0.7318 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.005935, allocations: 0.706 MB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.745e-05/0.006002, allocations: 174.6 kB / 0.7327 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.006026, allocations: 88.14 kB / 0.7328 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.006047, allocations: 75.28 kB / 0.7329 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.006081, allocations: 105.8 kB / 0.733 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.006082, allocations: 0.875 kB / 0.733 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.81e-05/0.00614, allocations: 33.69 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.006192, allocations: 135.7 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.006318, allocations: 194.5 kB / 0.7333 GB, free: 380 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.006327, allocations: 25.7 kB / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.0064, allocations: 165.7 kB / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.006402, allocations: 0 / 0.7335 GB, free: 176 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.006441, allocations: 29.64 kB / 0.7335 GB, free: 140 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.00655, allocations: 326.8 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.006563, allocations: 4.5 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.006603, allocations: 49.98 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.604e-05/0.006669, allocations: 67.55 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.006671, allocations: 0 / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.361e-05/0.006765, allocations: 79.72 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.006777, allocations: 4 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.006786, allocations: 8.594 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.006796, allocations: 0.8125 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.006877, allocations: 23.92 kB / 0.7341 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.006883, allocations: 7.938 kB / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.00693, allocations: 20.42 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.006941, allocations: 9.281 kB / 0.7341 GB, free: 15.5 MB / 0.7136 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 8.25e-05/0.007023, allocations: 188 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.007067, allocations: 116.9 kB / 0.7344 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.007114, allocations: 114.2 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.007164, allocations: 176.3 kB / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-05/0.007208, allocations: 185.5 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.722e-05/0.007255, allocations: 184.2 kB / 0.735 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.007436, allocations: 365.3 kB / 0.7354 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-05/0.007463, allocations: 106.1 kB / 0.7355 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.007486, allocations: 101 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.007518, allocations: 116.8 kB / 0.7357 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.803e-05/0.007556, allocations: 177.5 kB / 0.7358 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.007596, allocations: 184.2 kB / 0.736 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-05/0.007666, allocations: 180.2 kB / 0.7362 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.481e-05/0.00771, allocations: 185.3 kB / 0.7364 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.007805, allocations: 316 kB / 0.7367 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.007855, allocations: 180.2 kB / 0.7368 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.007912, allocations: 105.5 kB / 0.7369 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.007956, allocations: 184.2 kB / 0.7371 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.00798, allocations: 106.5 kB / 0.7372 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.008026, allocations: 56.23 kB / 0.7373 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.008026, allocations: 0 / 0.7373 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001544/0.00818, allocations: 35.89 kB / 0.7373 GB, free: 12.04 MB / 0.7136 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.0001341/0.008314, allocations: 152.9 kB / 0.7374 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.219e-05/0.008396, allocations: 34.06 kB / 0.7375 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.008402, allocations: 4 kB / 0.7375 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.008402, allocations: 0.75 kB / 0.7375 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.008688, allocations: 492.2 kB / 0.738 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.009115, allocations: 424.1 kB / 0.7384 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.009165, allocations: 92.67 kB / 0.7384 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.009193, allocations: 8.5 kB / 0.7385 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.009252, allocations: 63.36 kB / 0.7385 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.009252, allocations: 0.6562 kB / 0.7385 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.002898/0.01215, allocations: 1.097 MB / 0.7396 GB, free: 9.703 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.ref.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.983637053519487]