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.008533/0.008533, allocations: 98.7 kB / 15.73 MB, free: 6.055 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.00155/0.001551, allocations: 196 kB / 16.68 MB, free: 5.969 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.91 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.148, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002158/1.15, allocations: 0.7716 MB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001114/1.151, allocations: 0.8247 MB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/1.151, allocations: 0.9375 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/1.151, allocations: 57.23 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/1.151, allocations: 39.86 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.78e-05/1.151, allocations: 17.56 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000193/1.152, allocations: 89.59 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/1.152, allocations: 21.28 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/1.152, allocations: 47.7 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/1.152, allocations: 82.47 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/1.152, allocations: 7.438 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/1.152, allocations: 8.062 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.978e-05/1.152, allocations: 40.66 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/1.152, allocations: 41.08 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/1.153, allocations: 113.4 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.153, allocations: 0.6094 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.168e-06/1.153, allocations: 0 / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.153, allocations: 3.938 kB / 1.09 GB, free: 4.199 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.0008528/1.154, allocations: 474 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.154, allocations: 9.406 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/1.154, allocations: 10.94 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/1.154, allocations: 206.6 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/1.154, allocations: 7.469 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/1.154, allocations: 6.812 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/1.154, allocations: 148 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.154, allocations: 192 / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/1.154, allocations: 5 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/1.154, allocations: 2.484 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/1.155, allocations: 178 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/1.156, allocations: 0.5019 MB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/1.156, allocations: 163.1 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/1.157, allocations: 98.95 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/1.157, allocations: 1.188 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.157, allocations: 36.36 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/1.157, allocations: 0 / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0009285/1.158, allocations: 285.9 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.158, allocations: 78.33 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/1.158, allocations: 164.5 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/1.158, allocations: 26.42 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/1.158, allocations: 104.3 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/1.158, allocations: 25.44 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/1.158, allocations: 29.69 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.137e-05/1.158, allocations: 329.6 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/1.159, allocations: 75.86 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/1.159, allocations: 93.27 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/1.159, allocations: 172.5 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.159, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006099/1.16, allocations: 212.6 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.16, allocations: 5.344 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.16, allocations: 0.6562 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.16, allocations: 2.422 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/1.16, allocations: 33.77 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/1.16, allocations: 0.7812 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/1.16, allocations: 31.44 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/1.16, allocations: 2.328 kB / 1.093 GB, free: 1.922 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.0001076/1.161, allocations: 135.8 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/1.161, allocations: 14.06 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/1.161, allocations: 17.98 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.161, allocations: 1.5 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.161, allocations: 1.406 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.161, allocations: 5.469 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/1.161, allocations: 230.9 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.161, allocations: 0 / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/1.161, allocations: 34.22 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.161, allocations: 9.562 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.161, allocations: 0.875 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.161, allocations: 0.8438 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.161, allocations: 1.797 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/1.162, allocations: 386.9 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/1.162, allocations: 84.88 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/1.162, allocations: 1.812 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/1.162, allocations: 27.28 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/1.162, allocations: 11.05 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/1.162, allocations: 2.188 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.835e-05/1.162, allocations: 124.4 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.162, allocations: 1 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002765/1.163, allocations: 15.53 kB / 1.095 GB, free: 1.094 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.0001584/1.163, allocations: 104.3 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006132/1.163, allocations: 176.7 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.163, allocations: 0 / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/1.164, allocations: 92.78 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/1.164, allocations: 24.33 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/1.165, allocations: 254.2 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/1.165, allocations: 0.7104 MB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.923e-05/1.165, allocations: 31.91 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/1.165, allocations: 11.75 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/1.165, allocations: 0 / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of Templates: time 0.00434/1.169, allocations: 1.21 MB / 1.097 GB, free: 15.93 MB / 0.8731 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