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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001679/0.001679, allocations: 195 kB / 16.14 MB, free: 6.648 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 71.89 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7879, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00242/0.7904, allocations: 0.8351 MB / 1.017 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.7914, allocations: 0.8273 MB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.7914, allocations: 3.938 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.7917, allocations: 55.84 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.185e-05/0.7917, allocations: 35.91 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.16e-05/0.7918, allocations: 15.98 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.792, allocations: 87.75 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.7921, allocations: 19.97 kB / 1.018 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.7922, allocations: 43.83 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.7924, allocations: 79.8 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.7924, allocations: 7.984 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.7924, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.7925, allocations: 31.91 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.7926, allocations: 39.72 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.7927, allocations: 111.6 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.7927, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7927, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.7927, allocations: 4 kB / 1.019 GB, free: 0.543 MB / 0.7637 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.0008071/0.7935, allocations: 464.9 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.7936, allocations: 15.98 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.7937, allocations: 12.75 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.7939, allocations: 205.6 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.7939, allocations: 4.375 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.794, allocations: 12.31 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.7944, allocations: 151.9 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7944, allocations: 4.188 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.7944, allocations: 7.922 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7944, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.7949, allocations: 175.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008365/0.7958, allocations: 0.4969 MB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.7962, allocations: 165.1 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.7965, allocations: 101.7 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.7965, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.7966, allocations: 34.56 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.7966, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0009092/0.7975, allocations: 289.2 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.7975, allocations: 77.11 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.7977, allocations: 174.1 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.7977, allocations: 33.7 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.7978, allocations: 104.1 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.7979, allocations: 27.56 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.7979, allocations: 21.7 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7981, allocations: 326.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.7983, allocations: 75.92 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.7986, allocations: 93.64 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.799, allocations: 165.6 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7991, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000526/0.7996, allocations: 205.4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7996, allocations: 7.984 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7996, allocations: 480 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7996, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.7999, allocations: 35.97 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7999, allocations: 3.938 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.8, allocations: 35.86 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.8, allocations: 0 / 1.022 GB, free: 12.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.8001, allocations: 137.7 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.8002, allocations: 7.906 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.8003, allocations: 24.23 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.8003, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.8003, allocations: 7.984 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8003, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.8006, allocations: 225.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8006, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.8008, allocations: 31.95 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.8008, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.8008, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8008, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8008, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.8015, allocations: 386.4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.8015, allocations: 88.95 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.8016, allocations: 7.984 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.8018, allocations: 27.97 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.8018, allocations: 7.984 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.8019, allocations: 7.938 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.011e-05/0.802, allocations: 119.2 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.802, allocations: 4 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002675/0.8022, allocations: 16 kB / 1.023 GB, free: 11.63 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 (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.0001597/0.8024, allocations: 107.8 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.803, allocations: 171.7 kB / 1.023 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.803, allocations: 0 / 1.023 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.8032, allocations: 95.86 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.8036, allocations: 15.98 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.8042, allocations: 280.8 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.8045, allocations: 0.7082 MB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.598e-05/0.8046, allocations: 23.97 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.8046, allocations: 11.44 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8046, allocations: 4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.003562/0.8082, allocations: 0.9863 MB / 1.026 GB, free: 9.184 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