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.002131/0.002131, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.002643/0.002643, allocations: 159.9 kB / 22.46 MB, free: 5.375 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.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.806/2.806, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] 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 4.098e-06/4.098e-06, allocations: 0 / 0.951 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.531e-05/4.94e-05, allocations: 2.281 kB / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002298/0.002347, allocations: 0.734 MB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.002662, allocations: 51.83 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.002726, allocations: 3.938 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.002902, allocations: 19.8 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.002958, allocations: 11.98 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.003132, allocations: 29.86 kB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.003362, allocations: 131.6 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.003628, allocations: 88.83 kB / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.003774, allocations: 87.86 kB / 0.9522 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.003886, allocations: 71.81 kB / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.003935, allocations: 12 kB / 0.9522 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.003974, allocations: 12 kB / 0.9523 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.004127, allocations: 51.83 kB / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.004243, allocations: 51.78 kB / 0.9524 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.004576, allocations: 235.2 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.004579, allocations: 0 / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00458, allocations: 7.938 kB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.00459, allocations: 0 / 0.9526 GB, free: 9.891 MB / 0.8575 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.000755/0.005345, allocations: 429.6 kB / 0.953 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.005387, allocations: 8.031 kB / 0.953 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.00547, allocations: 24.8 kB / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.005847, allocations: 201.4 kB / 0.9532 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.005872, allocations: 12.75 kB / 0.9532 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.005906, allocations: 20.36 kB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.006508, allocations: 337.6 kB / 0.9536 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.006523, allocations: 192 / 0.9536 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.00656, allocations: 8.375 kB / 0.9536 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.006614, allocations: 20.11 kB / 0.9536 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.007049, allocations: 267.8 kB / 0.9539 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.008287, allocations: 0.9139 MB / 0.9547 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.008406, allocations: 165.1 kB / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.008456, allocations: 84.08 kB / 0.955 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.008497, allocations: 87.25 kB / 0.9551 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/0.00857, allocations: 105.8 kB / 0.9552 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.008571, allocations: 0 / 0.9552 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001014/0.008672, allocations: 41.55 kB / 0.9552 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.008774, allocations: 130.7 kB / 0.9553 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.009139, allocations: 272 kB / 0.9556 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.009158, allocations: 25.7 kB / 0.9556 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.009332, allocations: 183.9 kB / 0.9558 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.009338, allocations: 4 kB / 0.9558 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.009426, allocations: 29.7 kB / 0.9558 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00023/0.009656, allocations: 322.8 kB / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.009762, allocations: 51.94 kB / 0.9562 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.009884, allocations: 85.98 kB / 0.9563 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.01008, allocations: 109.8 kB / 0.9564 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01008, allocations: 0 / 0.9564 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003482/0.01043, allocations: 181.4 kB / 0.9565 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.01045, allocations: 4 kB / 0.9565 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.01046, allocations: 12.22 kB / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.01048, allocations: 0 / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.01061, allocations: 23.92 kB / 0.9566 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.01062, allocations: 4 kB / 0.9566 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.446e-05/0.01071, allocations: 23.83 kB / 0.9566 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.01074, allocations: 11.98 kB / 0.9566 GB, free: 5.523 MB / 0.8575 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.0002396/0.01098, allocations: 245.1 kB / 0.9569 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.01108, allocations: 116.9 kB / 0.957 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.01119, allocations: 125.2 kB / 0.9571 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001253/0.01132, allocations: 188.1 kB / 0.9573 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.411e-05/0.01141, allocations: 180.3 kB / 0.9574 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001268/0.01154, allocations: 180.8 kB / 0.9576 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.01192, allocations: 436.7 kB / 0.958 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.214e-05/0.01198, allocations: 101 kB / 0.9581 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.01206, allocations: 104.9 kB / 0.9582 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-05/0.01215, allocations: 176.3 kB / 0.9584 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.01225, allocations: 180.5 kB / 0.9586 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-05/0.01234, allocations: 180.2 kB / 0.9587 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001141/0.01245, allocations: 188.2 kB / 0.9589 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.01269, allocations: 323.6 kB / 0.9592 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/0.01278, allocations: 108.9 kB / 0.9593 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.01294, allocations: 192.2 kB / 0.9595 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01306, allocations: 105 kB / 0.9596 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.01319, allocations: 188.2 kB / 0.9598 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/0.01328, allocations: 101 kB / 0.9599 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002361/0.01352, allocations: 192.4 kB / 0.9601 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01352, allocations: 0 / 0.9601 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003117/0.01383, allocations: 43.78 kB / 0.9601 GB, free: 1.766 MB / 0.8575 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.000245/0.01407, allocations: 174.5 kB / 0.9603 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.01427, allocations: 64.02 kB / 0.9603 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01427, allocations: 0 / 0.9603 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.01428, allocations: 3.938 kB / 0.9603 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.01499, allocations: 475.6 kB / 0.9608 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007602/0.01575, allocations: 426.8 kB / 0.9612 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.01593, allocations: 171.9 kB / 0.9614 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.729e-05/0.01601, allocations: 28.47 kB / 0.9614 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.01605, allocations: 12.5 kB / 0.9614 GB, free: 388 kB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.01605, allocations: 0 / 0.9614 GB, free: 388 kB / 0.8575 GB Notification: Performance of Templates: time 0.004577/0.02063, allocations: 0.9856 MB / 0.9624 GB, free: 15.41 MB / 0.8731 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: 8.173308953642845]