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.001404/0.001404, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001528/0.001528, allocations: 183 kB / 17.34 MB, free: 5.762 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.353/1.353, allocations: 222.9 MB / 241 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.19/2.19, allocations: 390.2 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.9516 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8967/0.8979, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002035/0.9, allocations: 0.7728 MB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.901, allocations: 0.8246 MB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.901, allocations: 5.125 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.9013, allocations: 55.58 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.9013, allocations: 39.75 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.409e-05/0.9014, allocations: 17.75 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.9016, allocations: 89.61 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.9017, allocations: 22.09 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.9018, allocations: 41.55 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.902, allocations: 79.84 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.902, allocations: 7.656 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.9021, allocations: 12.41 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.9021, allocations: 36.72 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.9022, allocations: 44.81 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.9024, allocations: 123.9 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9024, allocations: 1.156 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9024, allocations: 0 / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.9024, allocations: 0 / 1.091 GB, free: 4.145 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.0007264/0.9032, allocations: 463.3 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.9032, allocations: 10.09 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.9033, allocations: 13.72 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.9034, allocations: 203.3 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.9034, allocations: 2.469 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.9035, allocations: 8.438 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.9039, allocations: 155.1 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.9039, allocations: 5.281 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.9039, allocations: 7.938 kB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.9039, allocations: 2.734 kB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.9045, allocations: 165.9 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.9053, allocations: 0.502 MB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.9057, allocations: 163.2 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.906, allocations: 98.78 kB / 1.093 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.906, allocations: 4.625 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.906, allocations: 37.03 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.906, allocations: 0 / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0009081/0.9069, allocations: 280.7 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.907, allocations: 83.06 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.9071, allocations: 164.9 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.9071, allocations: 26.39 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.9072, allocations: 104.5 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.9072, allocations: 33.83 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.9073, allocations: 21.05 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.9073, allocations: 326.1 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.9076, allocations: 79.7 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.9079, allocations: 88.58 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.9084, allocations: 177.8 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9084, allocations: 0 / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005829/0.909, allocations: 203.8 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.909, allocations: 14.58 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.909, allocations: 1.25 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.909, allocations: 0 / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.9093, allocations: 34.41 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.9093, allocations: 1.375 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.9094, allocations: 31.05 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.9094, allocations: 2.531 kB / 1.094 GB, free: 1.879 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 8.839e-05/0.9095, allocations: 132.4 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.9096, allocations: 9.781 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.9096, allocations: 22.09 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.9097, allocations: 1.312 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9097, allocations: 5.703 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9097, allocations: 1.25 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.9099, allocations: 222.4 kB / 1.095 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.91, allocations: 1.875 kB / 1.095 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.9101, allocations: 40.73 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9102, allocations: 1.672 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.9102, allocations: 1.25 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9102, allocations: 0.8125 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9102, allocations: 9.469 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.9108, allocations: 390.5 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.9108, allocations: 88.88 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.9108, allocations: 1.781 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.911, allocations: 26.78 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.9111, allocations: 7.391 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.9111, allocations: 6.562 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.578e-05/0.9112, allocations: 127.8 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9112, allocations: 0 / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002823/0.9115, allocations: 21.06 kB / 1.095 GB, free: 1.039 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.0001507/0.9117, allocations: 99.19 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006251/0.9123, allocations: 176.3 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9123, allocations: 0 / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.9126, allocations: 89.7 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.913, allocations: 11.45 kB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.9135, allocations: 295.6 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.9137, allocations: 0.7113 MB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.9138, allocations: 11.91 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9138, allocations: 0.5 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.003929/0.9178, allocations: 1.497 MB / 1.098 GB, free: 15.86 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/jenkins1/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