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.001808/0.001808, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002897/0.002897, allocations: 209.5 kB / 22.25 MB, free: 4.852 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.797/1.797, allocations: 230.6 MB / 256 MB, free: 7.793 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.659/3.659, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002251/0.002251, allocations: 68.42 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4548, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002272/0.457, allocations: 0.7609 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.4583, allocations: 0.851 MB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.4584, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.4586, allocations: 59.78 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.4586, allocations: 35.84 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.393e-05/0.4587, allocations: 23.97 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.4589, allocations: 95.67 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.4591, allocations: 15.98 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.4591, allocations: 35.91 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.4593, allocations: 83.77 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.4593, allocations: 8 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.045e-05/0.4594, allocations: 8 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.4594, allocations: 39.84 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.4595, allocations: 35.8 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.4597, allocations: 123.4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4597, allocations: 4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4597, allocations: 3.938 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4597, allocations: 0 / 1.366 GB, free: 11.34 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.000862/0.4606, allocations: 385.7 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4606, allocations: 8.031 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.4606, allocations: 12.89 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.4609, allocations: 146.4 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4609, allocations: 4.375 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.4609, allocations: 8.359 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.4614, allocations: 151.8 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4614, allocations: 192 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4614, allocations: 3.938 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4614, allocations: 3.938 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/0.4619, allocations: 171.8 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.4628, allocations: 436.5 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.4633, allocations: 173 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.4636, allocations: 93.67 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.4636, allocations: 3.984 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.4636, allocations: 38.56 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.4636, allocations: 0 / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0009378/0.4646, allocations: 285.3 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.4646, allocations: 77.11 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.4648, allocations: 170.3 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4648, allocations: 25.7 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.4649, allocations: 100.1 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.465, allocations: 35.73 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.465, allocations: 17.72 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.4652, allocations: 322.8 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.4654, allocations: 75.92 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.4657, allocations: 97.62 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.4662, allocations: 177.5 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4662, allocations: 7.922 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006023/0.4668, allocations: 205.5 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4668, allocations: 4 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4669, allocations: 4 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4669, allocations: 3.938 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.4671, allocations: 31.95 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.4671, allocations: 4 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.4672, allocations: 23.95 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4672, allocations: 8 kB / 1.369 GB, free: 7.887 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.0001261/0.4674, allocations: 129.8 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.4674, allocations: 15.89 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.4675, allocations: 16.34 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4675, allocations: 0 / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4675, allocations: 4 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.4675, allocations: 4.469 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.4678, allocations: 157.2 kB / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.4678, allocations: 4 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.4679, allocations: 43.83 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.468, allocations: 4 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.468, allocations: 4 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.468, allocations: 0 / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.468, allocations: 0 / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.4686, allocations: 378.5 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.4687, allocations: 15.91 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.4687, allocations: 4 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.4689, allocations: 27.95 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.469, allocations: 15.92 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.469, allocations: 0 / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000106/0.4691, allocations: 127.2 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4691, allocations: 0 / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002703/0.4693, allocations: 16 kB / 1.37 GB, free: 6.871 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.0001417/0.4695, allocations: 95.25 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006014/0.4701, allocations: 179.8 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4701, allocations: 0 / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.4704, allocations: 83.92 kB / 1.37 GB, free: 6.512 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.4707, allocations: 15.94 kB / 1.37 GB, free: 6.496 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.4713, allocations: 267.1 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.4714, allocations: 96.17 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.741e-05/0.4715, allocations: 27.97 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.4716, allocations: 15.44 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4716, allocations: 0 / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of Templates: time 0.004474/0.476, allocations: 1.318 MB / 1.372 GB, free: 4.742 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/jenkins/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: 10.271759880706668]