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.001145/0.001145, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00565/0.006794, allocations: 449.8 kB / 10.44 MB, free: 252 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.000972/0.000972, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002287, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.023/1.023, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09739/1.12, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.932/1.932, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6619/2.594, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 177] 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 1.903e-06/1.903e-06, allocations: 0 / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.467e-05, allocations: 4.422 kB / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001376/0.0014, allocations: 0.7954 MB / 0.7305 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001176/0.001518, allocations: 56.31 kB / 0.7305 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.001563, allocations: 8.594 kB / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.438e-05/0.001658, allocations: 22.08 kB / 0.7306 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.001703, allocations: 11.19 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.001811, allocations: 39.66 kB / 0.7306 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.001987, allocations: 118.8 kB / 0.7307 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.002147, allocations: 86.2 kB / 0.7308 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.002271, allocations: 121.2 kB / 0.7309 GB, free: 3.168 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.002353, allocations: 71.81 kB / 0.731 GB, free: 3.098 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.002387, allocations: 12 kB / 0.731 GB, free: 3.086 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.002406, allocations: 8 kB / 0.731 GB, free: 3.078 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.002466, allocations: 40.38 kB / 0.7311 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.002508, allocations: 37.06 kB / 0.7311 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.002665, allocations: 155.3 kB / 0.7312 GB, free: 2.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.002674, allocations: 0 / 0.7312 GB, free: 2.852 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002675, allocations: 0.9062 kB / 0.7312 GB, free: 2.852 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.002686, allocations: 0 / 0.7312 GB, free: 2.852 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.0004606/0.003146, allocations: 436.4 kB / 0.7317 GB, free: 2.398 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.003185, allocations: 12.03 kB / 0.7317 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.003238, allocations: 30.62 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.003404, allocations: 169.4 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.003417, allocations: 12.75 kB / 0.7319 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.003439, allocations: 16.38 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.00367, allocations: 197.2 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.003683, allocations: 7.938 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.003697, allocations: 5.594 kB / 0.7321 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.003729, allocations: 15.98 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.099e-05/0.00381, allocations: 72.66 kB / 0.7322 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.00448, allocations: 0.7099 MB / 0.7329 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.004543, allocations: 170 kB / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.004565, allocations: 80.14 kB / 0.7331 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.004583, allocations: 79.22 kB / 0.7332 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.004618, allocations: 110.8 kB / 0.7333 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.004619, allocations: 0 / 0.7333 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.948e-05/0.004678, allocations: 39.39 kB / 0.7333 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.00472, allocations: 126.9 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.004851, allocations: 195.7 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.004866, allocations: 25.7 kB / 0.7337 GB, free: 236 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.004972, allocations: 168 kB / 0.7338 GB, free: 64 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.004975, allocations: 0.5 kB / 0.7338 GB, free: 64 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.005016, allocations: 34.73 kB / 0.7339 GB, free: 24 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.005125, allocations: 318.8 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.005142, allocations: 4 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.005183, allocations: 50.64 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.005271, allocations: 71.02 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.005274, allocations: 0.9375 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001391/0.005413, allocations: 70.89 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.005432, allocations: 12.77 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.00544, allocations: 4.562 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.005454, allocations: 5.219 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.005562, allocations: 23.92 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.00557, allocations: 3.938 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.005615, allocations: 20.78 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.005627, allocations: 7.984 kB / 0.7344 GB, free: 15.39 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.489e-05/0.005712, allocations: 193.2 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.005756, allocations: 108.9 kB / 0.7347 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.005802, allocations: 117.5 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/0.005846, allocations: 185.4 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.484e-05/0.005891, allocations: 180.2 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.427e-05/0.005935, allocations: 184.2 kB / 0.7353 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.006103, allocations: 362.6 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/0.006131, allocations: 101 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.006155, allocations: 108.9 kB / 0.7359 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.00619, allocations: 120.9 kB / 0.736 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.853e-05/0.006228, allocations: 177.3 kB / 0.7362 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.006271, allocations: 180.2 kB / 0.7363 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-05/0.006311, allocations: 180.8 kB / 0.7365 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.354e-05/0.006355, allocations: 184.1 kB / 0.7367 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.006452, allocations: 309.6 kB / 0.737 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.006508, allocations: 192.2 kB / 0.7372 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.006564, allocations: 109 kB / 0.7373 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.006606, allocations: 180.2 kB / 0.7375 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.00663, allocations: 102.2 kB / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.006685, allocations: 66.41 kB / 0.7376 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006685, allocations: 0 / 0.7376 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001418/0.006827, allocations: 32.45 kB / 0.7376 GB, free: 11.92 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.0001162/0.006943, allocations: 156.4 kB / 0.7378 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.312e-05/0.007016, allocations: 26.34 kB / 0.7378 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.007022, allocations: 5.375 kB / 0.7378 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.007025, allocations: 3.938 kB / 0.7378 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.007385, allocations: 0.6352 MB / 0.7384 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.007828, allocations: 426 kB / 0.7389 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.47e-05/0.007883, allocations: 87.3 kB / 0.7389 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.007919, allocations: 16.47 kB / 0.739 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.007981, allocations: 63.38 kB / 0.739 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.007981, allocations: 0 / 0.739 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of Templates: time 0.00289/0.01087, allocations: 1.108 MB / 0.7401 GB, free: 9.379 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.139945232309401]