Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.001431/0.001431, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001731/0.001731, allocations: 211.8 kB / 22.99 MB, free: 4.945 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.235/3.235, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [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.002298/0.002298, allocations: 73.33 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3627, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002727/0.3654, allocations: 0.7532 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3667, allocations: 0.851 MB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.3668, allocations: 3.938 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.3671, allocations: 63.78 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.314e-05/0.3671, allocations: 35.84 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.1e-05/0.3672, allocations: 19.91 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.3674, allocations: 91.8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3675, allocations: 15.98 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.3676, allocations: 47.78 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3678, allocations: 83.77 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.3678, allocations: 8 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.3678, allocations: 8 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.771e-05/0.3679, allocations: 35.91 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/0.368, allocations: 35.8 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3682, allocations: 123.4 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3682, allocations: 0 / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3682, allocations: 0 / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3682, allocations: 4 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008528/0.369, allocations: 389.7 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3691, allocations: 8.031 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.3691, allocations: 16.89 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3694, allocations: 143.4 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3694, allocations: 4.375 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3694, allocations: 8.375 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.3699, allocations: 147.9 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3699, allocations: 192 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.3699, allocations: 7.938 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3699, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.3705, allocations: 175.8 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009054/0.3714, allocations: 436.6 kB / 1.368 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.3718, allocations: 165 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.3721, allocations: 97.67 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3721, allocations: 0 / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3722, allocations: 38.55 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.3722, allocations: 0 / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.000949/0.3731, allocations: 285.3 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.3732, allocations: 81.11 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3733, allocations: 168.4 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.3734, allocations: 25.7 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.3735, allocations: 100.1 kB / 1.369 GB, free: 8.926 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.3735, allocations: 27.73 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.3736, allocations: 25.66 kB / 1.369 GB, free: 8.867 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3737, allocations: 326.8 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.374, allocations: 79.86 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.3743, allocations: 93.64 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.3748, allocations: 173.9 kB / 1.37 GB, free: 8.188 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3748, allocations: 3.938 kB / 1.37 GB, free: 8.184 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005955/0.3754, allocations: 209.4 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3754, allocations: 8 kB / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3754, allocations: 0 / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3754, allocations: 4 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3756, allocations: 35.95 kB / 1.37 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3756, allocations: 0 / 1.37 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.3758, allocations: 27.95 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3758, allocations: 0 / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001323/0.3759, allocations: 133.7 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.376, allocations: 23.89 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.376, allocations: 16.34 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.376, allocations: 0 / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.376, allocations: 0 / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3761, allocations: 0 / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3763, allocations: 165.1 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3763, allocations: 0 / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.3765, allocations: 35.95 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3765, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3765, allocations: 12 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3765, allocations: 0 / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3766, allocations: 4 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.3772, allocations: 378.5 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.3773, allocations: 11.91 kB / 1.371 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3773, allocations: 4 kB / 1.371 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.3775, allocations: 31.95 kB / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.3776, allocations: 7.984 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3776, allocations: 7.938 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001103/0.3777, allocations: 124.7 kB / 1.371 GB, free: 6.895 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3777, allocations: 0 / 1.371 GB, free: 6.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002864/0.378, allocations: 20 kB / 1.371 GB, free: 6.875 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001273/0.3781, allocations: 95.19 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006004/0.3787, allocations: 175.8 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3787, allocations: 0 / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.379, allocations: 87.86 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.3794, allocations: 22.12 kB / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.3801, allocations: 292.9 kB / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3802, allocations: 96.19 kB / 1.372 GB, free: 6.055 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.3802, allocations: 11.44 kB / 1.372 GB, free: 6.043 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3802, allocations: 0 / 1.372 GB, free: 6.043 MB / 1.061 GB Notification: Performance of Templates: time 0.003985/0.3842, allocations: 1.548 MB / 1.373 GB, free: 4.504 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.486414003185928]