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.001805/0.001805, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 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.002301/0.002301, allocations: 210.4 kB / 23.04 MB, free: 4.867 MB / 14.72 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",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.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 74.06 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3575, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001992/0.3595, allocations: 0.7287 MB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.3597, allocations: 52.23 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.3598, allocations: 4 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3599, allocations: 23.8 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.36, allocations: 11.92 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.3601, allocations: 29.8 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.3603, allocations: 115.8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3606, allocations: 88.75 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.3607, allocations: 75.72 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3608, allocations: 83.64 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.3608, allocations: 12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-05/0.3608, allocations: 12 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.3609, allocations: 51.86 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.361, allocations: 67.53 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3613, allocations: 250.9 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3613, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3613, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3613, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 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.000598/0.3619, allocations: 433.6 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3619, allocations: 8.031 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.362, allocations: 32.75 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3623, allocations: 194.2 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3623, allocations: 20.75 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.3624, allocations: 20.36 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.3629, allocations: 341.1 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3629, allocations: 3.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3629, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.3629, allocations: 16 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.3633, allocations: 260.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3644, allocations: 0.9099 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3646, allocations: 177.1 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.3646, allocations: 84.14 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.3646, allocations: 75.28 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.3647, allocations: 113.8 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3647, allocations: 3.938 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.207e-05/0.3648, allocations: 37.78 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.3649, allocations: 130.6 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.3651, allocations: 271 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3652, allocations: 25.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3653, allocations: 183.9 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.3653, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.3654, allocations: 29.7 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3655, allocations: 326.8 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.3656, allocations: 55.95 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3657, allocations: 89.97 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3658, allocations: 105.8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3658, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002883/0.3661, allocations: 173.4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3661, allocations: 8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3661, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3661, allocations: 11.88 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.3662, allocations: 19.98 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3662, allocations: 3.938 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.3663, allocations: 23.98 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3664, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 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.0001942/0.3665, allocations: 249.8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.3666, allocations: 116.9 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.186e-05/0.3667, allocations: 125.4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.828e-05/0.3668, allocations: 180.2 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.854e-05/0.3669, allocations: 184.2 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.874e-05/0.367, allocations: 176.3 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.3673, allocations: 424.8 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-05/0.3673, allocations: 109 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.3674, allocations: 105 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.916e-05/0.3675, allocations: 184.2 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.3676, allocations: 180.2 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.673e-05/0.3677, allocations: 184.3 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-05/0.3677, allocations: 184.1 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3679, allocations: 315.7 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.368, allocations: 112.9 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.3681, allocations: 188.4 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3682, allocations: 105 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.3683, allocations: 184.2 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.3683, allocations: 116.9 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001825/0.3685, allocations: 184.5 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3685, allocations: 0 / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002956/0.3688, allocations: 47.78 kB / 1.336 GB, free: 7.219 MB / 1.029 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.0001551/0.369, allocations: 170.5 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.3691, allocations: 63.89 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3691, allocations: 0 / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.3691, allocations: 0 / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.3697, allocations: 481.1 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.3703, allocations: 472.6 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.3705, allocations: 172 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.3705, allocations: 15.38 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of SimCode: time 4.9e-07/0.3705, allocations: 0 / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of Templates: time 0.003937/0.3745, allocations: 2.088 MB / 1.34 GB, free: 3.723 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.350165345007554]