Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 198.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 67.89 kB / 1.109 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9626/0.9654, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002293/0.9677, allocations: 0.7588 MB / 1.275 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.969, allocations: 0.839 MB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.969, allocations: 0 / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.9693, allocations: 59.8 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.744e-05/0.9693, allocations: 35.83 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.943e-05/0.9694, allocations: 15.97 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.9696, allocations: 95.75 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.9697, allocations: 11.98 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.9698, allocations: 47.77 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.97, allocations: 87.77 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.97, allocations: 8 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/0.97, allocations: 8 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.603e-05/0.9701, allocations: 35.91 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.9701, allocations: 43.73 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.9703, allocations: 122.2 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.9703, allocations: 0 / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9704, allocations: 7.938 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.9704, allocations: 0 / 1.276 GB, free: 2.324 MB / 0.9669 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.0009308/0.9713, allocations: 470.7 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.9713, allocations: 8.031 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.9714, allocations: 16.89 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.9717, allocations: 212 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.9717, allocations: 4.375 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.9717, allocations: 8.375 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.9722, allocations: 143.9 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.9722, allocations: 192 / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.9722, allocations: 11.92 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.9722, allocations: 4 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.9728, allocations: 175.8 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009482/0.9738, allocations: 0.4969 MB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.9742, allocations: 157.1 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.9745, allocations: 97.72 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.9745, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.9746, allocations: 34.56 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.9746, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0009926/0.9756, allocations: 289.3 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.9756, allocations: 77.11 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.9758, allocations: 164.9 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.9758, allocations: 25.7 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.9759, allocations: 104.1 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.976, allocations: 27.75 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.976, allocations: 25.66 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9762, allocations: 326.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.9765, allocations: 79.86 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.9767, allocations: 97.62 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.9773, allocations: 169.6 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9773, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006051/0.9779, allocations: 209.4 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.9779, allocations: 8 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.978, allocations: 480 / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.978, allocations: 0 / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.9782, allocations: 39.95 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9782, allocations: 0 / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.9784, allocations: 27.89 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.9784, allocations: 4 kB / 1.28 GB, free: 14.61 MB / 0.9825 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.9785, allocations: 137.7 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.9786, allocations: 7.953 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.9786, allocations: 20.23 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9786, allocations: 3.938 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9786, allocations: 8 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.9786, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.979, allocations: 229.5 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.979, allocations: 0 / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.9792, allocations: 39.95 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9792, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.9792, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9792, allocations: 8 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9792, allocations: 160 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.9799, allocations: 386.5 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.98, allocations: 89.02 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.98, allocations: 4 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.9803, allocations: 27.95 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.9803, allocations: 11.98 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.9803, allocations: 0 / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000113/0.9804, allocations: 126.1 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9804, allocations: 0 / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002923/0.9807, allocations: 16 kB / 1.281 GB, free: 13.43 MB / 0.9825 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.0001499/0.9809, allocations: 111.7 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006629/0.9815, allocations: 171.7 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9815, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.9819, allocations: 91.86 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.9822, allocations: 9.562 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.9829, allocations: 282.8 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.9833, allocations: 0.7119 MB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.9834, allocations: 31.97 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.9835, allocations: 11.44 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9835, allocations: 0 / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.004372/0.9878, allocations: 1.226 MB / 1.283 GB, free: 10.73 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.032158454880118]