Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001254/0.001254, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001302/0.001302, allocations: 177.9 kB / 23.22 MB, free: 1.332 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 0.8582/0.8582, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.675/1.675, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.9518 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.584e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001254/0.00128, allocations: 0.7339 MB / 0.9525 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.001481, allocations: 55.77 kB / 0.9526 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.001525, allocations: 3.938 kB / 0.9526 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.001652, allocations: 19.86 kB / 0.9526 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.001695, allocations: 15.92 kB / 0.9526 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.001833, allocations: 23.95 kB / 0.9526 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.00199, allocations: 123.7 kB / 0.9528 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.002149, allocations: 88.77 kB / 0.9528 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.691e-05/0.002226, allocations: 91.86 kB / 0.9529 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.002293, allocations: 75.81 kB / 0.953 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.002324, allocations: 12 kB / 0.953 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.002344, allocations: 12 kB / 0.953 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.002398, allocations: 51.83 kB / 0.9531 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.002443, allocations: 47.84 kB / 0.9531 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.002629, allocations: 235.2 kB / 0.9533 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.002631, allocations: 4 kB / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.313e-06/0.002633, allocations: 0 / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002637, allocations: 0 / 0.9533 GB, free: 1.32 MB / 0.9011 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.0003955/0.003033, allocations: 433.5 kB / 0.9538 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.003065, allocations: 15.97 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.003105, allocations: 24.8 kB / 0.9538 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.003289, allocations: 189.4 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.003303, allocations: 16.73 kB / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.003323, allocations: 20.38 kB / 0.954 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.003659, allocations: 341.5 kB / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.003669, allocations: 192 / 0.9543 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.003683, allocations: 4.375 kB / 0.9543 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.003707, allocations: 16.12 kB / 0.9544 GB, free: 216 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.003942, allocations: 267.8 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/0.004652, allocations: 0.91 MB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.958e-05/0.004722, allocations: 173.1 kB / 0.9557 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.004748, allocations: 80.14 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.004769, allocations: 75.28 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.004808, allocations: 109.8 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.00481, allocations: 0 / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 7.29e-05/0.004883, allocations: 41.55 kB / 0.956 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.004933, allocations: 126.7 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.005126, allocations: 280.2 kB / 0.9563 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.005135, allocations: 25.7 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.005219, allocations: 180 kB / 0.9565 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.005222, allocations: 8 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.005343, allocations: 33.66 kB / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.005425, allocations: 326.8 kB / 0.9569 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.005473, allocations: 47.95 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.005536, allocations: 89.97 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.336e-05/0.00563, allocations: 109.8 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.005632, allocations: 0 / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002059/0.005838, allocations: 169.4 kB / 0.9573 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.005852, allocations: 8 kB / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005856, allocations: 0 / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.005869, allocations: 4 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.005949, allocations: 23.92 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.005954, allocations: 224 / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.006006, allocations: 35.81 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.00602, allocations: 8 kB / 0.9574 GB, free: 12.96 MB / 0.9167 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.0001238/0.006143, allocations: 245.1 kB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.006191, allocations: 112.9 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.006236, allocations: 129.2 kB / 0.9578 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.753e-05/0.006283, allocations: 176.9 kB / 0.958 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.975e-05/0.006333, allocations: 184.2 kB / 0.9582 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.373e-05/0.006377, allocations: 184.2 kB / 0.9584 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.006554, allocations: 432.7 kB / 0.9588 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/0.006579, allocations: 109 kB / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.006603, allocations: 105.1 kB / 0.959 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-05/0.006642, allocations: 180.2 kB / 0.9591 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.006686, allocations: 192.3 kB / 0.9593 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.213e-05/0.006728, allocations: 180.2 kB / 0.9595 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.683e-05/0.006765, allocations: 176.3 kB / 0.9597 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.00686, allocations: 323.6 kB / 0.96 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.006891, allocations: 108.9 kB / 0.9601 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.00694, allocations: 184.2 kB / 0.9603 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.007001, allocations: 109 kB / 0.9604 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.007044, allocations: 180.2 kB / 0.9605 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.007068, allocations: 120.9 kB / 0.9606 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001093/0.007177, allocations: 187 kB / 0.9608 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.007177, allocations: 0 / 0.9608 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001866/0.007364, allocations: 51.72 kB / 0.9609 GB, free: 9.18 MB / 0.9167 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 9.479e-05/0.007458, allocations: 170.5 kB / 0.961 GB, free: 9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.007562, allocations: 63.89 kB / 0.9611 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007564, allocations: 0 / 0.9611 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.007565, allocations: 448 / 0.9611 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.007911, allocations: 479.6 kB / 0.9616 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.008331, allocations: 468.3 kB / 0.962 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.008436, allocations: 167.5 kB / 0.9622 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.00847, allocations: 12.5 kB / 0.9622 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.00847, allocations: 4 kB / 0.9622 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of Templates: time 0.002486/0.01096, allocations: 2.091 MB / 0.9642 GB, free: 5.691 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.625536701641977]