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.01104/0.01104, allocations: 103.3 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.001976/0.001976, allocations: 192.1 kB / 16.67 MB, free: 5.965 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.616/1.616, 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.492/2.492, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.9509 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.113, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001995/1.115, allocations: 0.7583 MB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000962/1.116, allocations: 0.8319 MB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/1.116, allocations: 0.6875 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/1.116, allocations: 59.42 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/1.116, allocations: 35.73 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.33e-05/1.117, allocations: 17.94 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/1.117, allocations: 89.16 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/1.117, allocations: 25.17 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/1.117, allocations: 42.61 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/1.117, allocations: 83.66 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/1.117, allocations: 7.531 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.269e-05/1.117, allocations: 8.688 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/1.117, allocations: 40.72 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/1.117, allocations: 48.39 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/1.118, allocations: 116.5 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.118, allocations: 0.6094 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/1.118, allocations: 1.156 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.997e-06/1.118, allocations: 0 / 1.09 GB, free: 4.176 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.0006855/1.118, allocations: 463 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/1.118, allocations: 14.03 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/1.118, allocations: 13.69 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/1.118, allocations: 202.9 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/1.119, allocations: 2.469 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/1.119, allocations: 8.344 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/1.119, allocations: 144.2 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.119, allocations: 4.188 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/1.119, allocations: 8.906 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.119, allocations: 2.484 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/1.12, allocations: 165.8 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/1.12, allocations: 0.5099 MB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/1.121, allocations: 166.8 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/1.121, allocations: 102.1 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/1.121, allocations: 1.75 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/1.121, allocations: 32.14 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/1.121, allocations: 1.281 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0009532/1.122, allocations: 283.9 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.122, allocations: 78.62 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/1.122, allocations: 170.4 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/1.122, allocations: 26.58 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/1.122, allocations: 104.6 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/1.122, allocations: 24.75 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/1.123, allocations: 25.02 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/1.123, allocations: 330 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/1.123, allocations: 80.27 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/1.123, allocations: 89.06 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/1.124, allocations: 172.9 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.124, allocations: 0 / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006152/1.124, allocations: 203.7 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.124, allocations: 6.344 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.124, allocations: 4.531 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.124, allocations: 0.75 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/1.125, allocations: 38.08 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.125, allocations: 2.188 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/1.125, allocations: 26.66 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/1.125, allocations: 7.031 kB / 1.093 GB, free: 1.91 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 7.747e-05/1.125, allocations: 131.8 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/1.125, allocations: 13.66 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/1.125, allocations: 22.38 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.125, allocations: 2.031 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.125, allocations: 0.75 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.125, allocations: 1.062 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/1.125, allocations: 222.8 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.125, allocations: 0.8438 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/1.125, allocations: 34.12 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.125, allocations: 1.094 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/1.126, allocations: 5.469 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.126, allocations: 1.547 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.126, allocations: 4.781 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005977/1.126, allocations: 398.6 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/1.126, allocations: 89.38 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/1.126, allocations: 1.094 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/1.126, allocations: 23.81 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/1.126, allocations: 11.41 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/1.127, allocations: 6.094 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001142/1.127, allocations: 123.6 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.127, allocations: 4.625 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002868/1.127, allocations: 19.5 kB / 1.095 GB, free: 1.07 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.0001589/1.127, allocations: 101.1 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006222/1.128, allocations: 171 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.128, allocations: 4.688 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/1.128, allocations: 92.81 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/1.128, allocations: 14.88 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/1.129, allocations: 263.4 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/1.129, allocations: 0.7074 MB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.803e-05/1.129, allocations: 26.3 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/1.129, allocations: 11.81 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/1.129, allocations: 1.094 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of Templates: time 0.004357/1.134, allocations: 1.241 MB / 1.097 GB, free: 15.91 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