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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001171/0.001171, allocations: 98.88 kB / 16.02 MB, free: 76 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.002001/0.002001, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.512/1.512, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.81/2.81, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 15.94 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6479, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001012/0.6489, allocations: 0.4941 MB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.65, allocations: 0.8235 MB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.6501, allocations: 3.938 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.6503, allocations: 51.86 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.6504, allocations: 35.89 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.851e-05/0.6505, allocations: 15.98 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.6506, allocations: 91.67 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.6508, allocations: 23.98 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.6509, allocations: 31.84 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.651, allocations: 79.77 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.6511, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.6511, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.641e-05/0.6512, allocations: 35.91 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.6513, allocations: 61.44 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.6514, allocations: 87.81 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6514, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6514, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.6514, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 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.0008451/0.6523, allocations: 464.9 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.6523, allocations: 11.98 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.6524, allocations: 12.83 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.6526, allocations: 205.3 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.6527, allocations: 4.375 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.6527, allocations: 4.375 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.6532, allocations: 167.9 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6532, allocations: 192 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.6532, allocations: 11.94 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6532, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.6539, allocations: 203.8 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009541/0.6548, allocations: 0.5243 MB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.6553, allocations: 185 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.6556, allocations: 113.7 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.6556, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.6557, allocations: 34.5 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.6557, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.001051/0.6567, allocations: 337.2 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.6568, allocations: 81.11 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.657, allocations: 170.1 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.657, allocations: 25.7 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.6571, allocations: 100.1 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.6571, allocations: 31.55 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.6572, allocations: 17.72 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6573, allocations: 322.8 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.6576, allocations: 99.86 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.6579, allocations: 109.6 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.6585, allocations: 201.9 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6585, allocations: 4 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006389/0.6591, allocations: 245.4 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.6592, allocations: 5.719 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6592, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.6592, allocations: 4 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.6595, allocations: 43.95 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.6595, allocations: 0 / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.6596, allocations: 35.97 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.6597, allocations: 0 / 1.029 GB, free: 10.08 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.0001185/0.6598, allocations: 138.2 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.6598, allocations: 15.81 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.6599, allocations: 20.23 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.6599, allocations: 4 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6599, allocations: 0 / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6599, allocations: 0 / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.6602, allocations: 225.5 kB / 1.03 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6602, allocations: 4 kB / 1.03 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.6604, allocations: 43.95 kB / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6605, allocations: 0 / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.6605, allocations: 4 kB / 1.03 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6605, allocations: 3.938 kB / 1.03 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6605, allocations: 0 / 1.03 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.6612, allocations: 414.5 kB / 1.03 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.6613, allocations: 96.84 kB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.6614, allocations: 0 / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.6616, allocations: 35.97 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.6617, allocations: 7.984 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.6617, allocations: 4 kB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.762e-05/0.6618, allocations: 119.2 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6618, allocations: 3.938 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002884/0.6621, allocations: 20 kB / 1.03 GB, free: 8.844 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.0001543/0.6622, allocations: 103.2 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.6629, allocations: 207.7 kB / 1.031 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6629, allocations: 0 / 1.031 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.6632, allocations: 111.9 kB / 1.031 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.6636, allocations: 13.7 kB / 1.031 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.6642, allocations: 316 kB / 1.031 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.6645, allocations: 0.7083 MB / 1.032 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.6646, allocations: 11.44 kB / 1.032 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.6646, allocations: 4 kB / 1.032 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of Templates: time 0.00316/0.6677, allocations: 1.481 MB / 1.033 GB, free: 5.836 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=480 -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/jenkins1/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