Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003453/0.003454, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.927/2.927, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003119/0.00312, allocations: 71.88 kB / 0.8693 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7876/0.7907, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002401/0.7932, allocations: 0.7657 MB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.7943, allocations: 0.8274 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.7944, allocations: 11.94 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.7946, allocations: 59.8 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.7947, allocations: 35.83 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.764e-05/0.7948, allocations: 19.97 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.795, allocations: 83.75 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.7951, allocations: 31.97 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.7952, allocations: 43.83 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.7954, allocations: 83.78 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.7954, allocations: 8 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.035e-05/0.7954, allocations: 8 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.7955, allocations: 35.91 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.7956, allocations: 47.66 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.7958, allocations: 111.6 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7958, allocations: 4 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7958, allocations: 0 / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7958, allocations: 0 / 1.019 GB, free: 308 kB / 0.7637 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.0009206/0.7967, allocations: 468.8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.7968, allocations: 11.98 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.7968, allocations: 16.84 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.7971, allocations: 204.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-06/0.7971, allocations: 384 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.7971, allocations: 12.31 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.7976, allocations: 151.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.7976, allocations: 192 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.7976, allocations: 11.94 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7976, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.7982, allocations: 163.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.7991, allocations: 0.5047 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.7995, allocations: 165.1 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.7998, allocations: 93.73 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.7998, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.7999, allocations: 38.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.7999, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0009363/0.8008, allocations: 285.2 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.8009, allocations: 81.09 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.8011, allocations: 169.2 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.8011, allocations: 25.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.8012, allocations: 104.1 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.8012, allocations: 27.56 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.8013, allocations: 21.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8015, allocations: 326.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.8018, allocations: 79.92 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.802, allocations: 93.62 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.8026, allocations: 173.9 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8026, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005914/0.8032, allocations: 205.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.8032, allocations: 6.188 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8032, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8032, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.8035, allocations: 43.89 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.8035, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.8037, allocations: 27.95 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.8037, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 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.0001252/0.8038, allocations: 133.8 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.8039, allocations: 15.81 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.8039, allocations: 16.25 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.8039, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8039, allocations: 3.938 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8039, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.8043, allocations: 233.5 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8043, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.8045, allocations: 27.97 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8045, allocations: 3.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.8045, allocations: 11.92 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8045, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8045, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.8052, allocations: 378.5 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.8053, allocations: 92.86 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.8053, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.8055, allocations: 23.95 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.8056, allocations: 11.98 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.8056, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001098/0.8057, allocations: 122.1 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8057, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002806/0.806, allocations: 20 kB / 1.024 GB, free: 11.4 MB / 0.7794 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.0002182/0.8063, allocations: 107.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006188/0.8069, allocations: 175.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8069, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.8072, allocations: 91.92 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.8075, allocations: 8.234 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.8082, allocations: 263.1 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.8086, allocations: 0.708 MB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.548e-05/0.8087, allocations: 31.97 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.8088, allocations: 11.44 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8088, allocations: 0 / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of Templates: time 0.004864/0.8136, allocations: 1.2 MB / 1.026 GB, free: 8.762 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches