Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01022/0.01022, allocations: 101 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.596/1.596, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.761/2.761, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.62 kB / 0.9509 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.396, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002166/0.3982, allocations: 0.7642 MB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3995, allocations: 0.8354 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.3995, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.3998, allocations: 59.78 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.3998, allocations: 31.84 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.4, allocations: 19.97 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.4001, allocations: 91.73 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.4003, allocations: 23.98 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.4004, allocations: 43.78 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.4006, allocations: 87.77 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.4007, allocations: 12 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.4007, allocations: 8 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.4008, allocations: 35.91 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.4009, allocations: 43.73 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.401, allocations: 115.6 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.401, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4011, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4011, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 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.0008285/0.4019, allocations: 462.9 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4019, allocations: 12.03 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.402, allocations: 12.75 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.4022, allocations: 208 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4022, allocations: 4.312 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.4023, allocations: 8.375 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.4027, allocations: 151.9 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4027, allocations: 192 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.4027, allocations: 7.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4027, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.4032, allocations: 179.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009749/0.4042, allocations: 0.493 MB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.4047, allocations: 165.1 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.4049, allocations: 93.73 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.405, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.405, allocations: 42.55 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.405, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008299/0.4058, allocations: 281.3 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.4059, allocations: 77.11 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.4061, allocations: 160 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.4061, allocations: 29.7 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.4062, allocations: 108.1 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.4062, allocations: 27.61 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.4063, allocations: 17.72 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4065, allocations: 326.8 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.4067, allocations: 83.86 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.407, allocations: 93.62 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.4074, allocations: 169.6 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4075, allocations: 7.938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004985/0.408, allocations: 209.4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.408, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.408, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.408, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.4082, allocations: 35.95 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4083, allocations: 0 / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4084, allocations: 35.81 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.4084, allocations: 3.984 kB / 1.093 GB, free: 11.56 MB / 0.8575 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.000134/0.4086, allocations: 133.7 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.4087, allocations: 8.375 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.4088, allocations: 28.23 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4088, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4088, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4088, allocations: 3.984 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.4091, allocations: 233.5 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4091, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4093, allocations: 35.95 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4093, allocations: 7.938 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4093, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4093, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4094, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.41, allocations: 390.4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.41, allocations: 85.02 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.4101, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.4103, allocations: 27.95 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.4103, allocations: 4 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4103, allocations: 4 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001041/0.4105, allocations: 134.5 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4105, allocations: 4 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002802/0.4107, allocations: 16 kB / 1.095 GB, free: 10.38 MB / 0.8575 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.000164/0.4109, allocations: 103.2 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006158/0.4115, allocations: 179.7 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4116, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.4118, allocations: 91.84 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.4122, allocations: 13.41 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.4129, allocations: 267.1 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.4134, allocations: 0.7055 MB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.532e-05/0.4135, allocations: 31.95 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.4135, allocations: 15.44 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of SimCode: time 1.81e-07/0.4135, allocations: 0 / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of Templates: time 0.004192/0.4177, allocations: 1.202 MB / 1.097 GB, free: 7.727 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches