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.001047/0.001046, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001376/0.001376, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.422 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.837/2.837, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 15.94 kB / 0.8722 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8001, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001018/0.8012, allocations: 490 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.8022, allocations: 0.8235 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.8022, allocations: 3.938 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.8024, allocations: 47.88 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.8025, allocations: 35.88 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.362e-05/0.8025, allocations: 15.98 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.8027, allocations: 75.75 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.8028, allocations: 27.97 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.8029, allocations: 35.83 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.803, allocations: 67.8 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.8031, allocations: 4 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.8031, allocations: 4 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.8032, allocations: 27.91 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.8032, allocations: 37.7 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.8033, allocations: 87.81 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8033, allocations: 0 / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8034, allocations: 3.938 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.8034, allocations: 0 / 1.024 GB, free: 14.23 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.0007695/0.8041, allocations: 464.7 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.8042, allocations: 16.5 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.8042, allocations: 11.91 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.8044, allocations: 192.4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.8045, allocations: 4 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.8045, allocations: 8 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.8049, allocations: 167.2 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.805, allocations: 7.938 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.805, allocations: 4 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.805, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.8055, allocations: 195.8 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.8064, allocations: 0.528 MB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.8068, allocations: 181.1 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.8071, allocations: 105.7 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.8071, allocations: 8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.8072, allocations: 34.5 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.8072, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0008757/0.8081, allocations: 337.2 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.8081, allocations: 81.05 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.8083, allocations: 166.1 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.8083, allocations: 33.7 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.8084, allocations: 104.1 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.8084, allocations: 31.55 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.8084, allocations: 3.938 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8086, allocations: 326.8 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.8088, allocations: 91.92 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.8091, allocations: 109.6 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.8093, allocations: 103.9 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8093, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005265/0.8099, allocations: 241.4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8099, allocations: 5.25 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8099, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8099, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.8101, allocations: 47.95 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8102, allocations: 0 / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.8103, allocations: 27.97 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.8103, allocations: 8 kB / 1.028 GB, free: 10.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.8104, allocations: 137.7 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.8105, allocations: 11.81 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.8105, allocations: 20.23 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8106, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8106, allocations: 4 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8106, allocations: 0 / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.8109, allocations: 221.5 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8109, allocations: 0 / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.8111, allocations: 51.95 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8111, allocations: 0 / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.8111, allocations: 4 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8111, allocations: 4 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.8111, allocations: 0 / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.8117, allocations: 411 kB / 1.028 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.8118, allocations: 96.8 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.8118, allocations: 4 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.812, allocations: 31.97 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.8121, allocations: 15.97 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.8121, allocations: 0 / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001057/0.8122, allocations: 127.2 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8123, allocations: 0 / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003098/0.8126, allocations: 16 kB / 1.029 GB, free: 9.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001628/0.8127, allocations: 111.2 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.8133, allocations: 207.7 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8133, allocations: 0 / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.8136, allocations: 111.9 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.8139, allocations: 15.98 kB / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.8145, allocations: 274.2 kB / 1.029 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.8148, allocations: 0.7059 MB / 1.03 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.205e-05/0.8149, allocations: 31.97 kB / 1.03 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.815, allocations: 11.44 kB / 1.03 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of SimCode: time 7.72e-07/0.815, allocations: 0 / 1.03 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of Templates: time 0.003688/0.8187, allocations: 0.9518 MB / 1.031 GB, free: 6.711 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/jenkins/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