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.00141/0.00141, allocations: 102 kB / 16.35 MB, free: 5.824 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.001634/0.001634, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.472/2.472, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.89 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3802, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.003008/0.3833, allocations: 0.7661 MB / 1.02 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3845, allocations: 0.8313 MB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.3845, allocations: 7.938 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.3848, allocations: 59.78 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.3849, allocations: 27.84 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.427e-05/0.385, allocations: 23.91 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3851, allocations: 87.8 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3853, allocations: 20 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3854, allocations: 43.83 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3856, allocations: 83.78 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.3856, allocations: 8 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.3856, allocations: 4 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.3857, allocations: 39.89 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.3858, allocations: 47.73 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3859, allocations: 119.5 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3859, allocations: 0 / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.215e-06/0.386, allocations: 4 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.386, allocations: 4 kB / 1.021 GB, free: 7.684 MB / 0.795 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.0009512/0.3869, allocations: 454.9 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.387, allocations: 16.58 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.3871, allocations: 12.75 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.3873, allocations: 212 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3873, allocations: 4.375 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3874, allocations: 4.375 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.3878, allocations: 155.8 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3878, allocations: 4.188 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.3878, allocations: 7.938 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3878, allocations: 4 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.3883, allocations: 167.8 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008133/0.3892, allocations: 0.5007 MB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.3896, allocations: 165.1 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.3898, allocations: 101.7 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3898, allocations: 0 / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3899, allocations: 34.56 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3899, allocations: 0 / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0008224/0.3907, allocations: 285.3 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3908, allocations: 77.11 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3909, allocations: 169.2 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.391, allocations: 29.7 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.391, allocations: 108.1 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.3911, allocations: 27.56 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.3911, allocations: 21.7 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3913, allocations: 326.8 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.3915, allocations: 75.92 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3917, allocations: 93.64 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.3922, allocations: 173.4 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3922, allocations: 4 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004983/0.3927, allocations: 205.8 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3927, allocations: 7.984 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3927, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3927, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.3929, allocations: 35.97 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.393, allocations: 3.984 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.3931, allocations: 35.86 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3931, allocations: 3.984 kB / 1.024 GB, free: 3.957 MB / 0.795 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.000105/0.3932, allocations: 129.8 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.3933, allocations: 11.91 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.3933, allocations: 16.25 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3933, allocations: 11.98 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3933, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.3933, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.3936, allocations: 225.5 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3937, allocations: 4 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.3938, allocations: 35.89 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.3938, allocations: 4 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3939, allocations: 0 / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3939, allocations: 0 / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3939, allocations: 0 / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.3944, allocations: 382.4 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.3945, allocations: 85.02 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3945, allocations: 7.984 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3947, allocations: 27.97 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.3948, allocations: 11.92 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3948, allocations: 11.94 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.3949, allocations: 117.4 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3949, allocations: 0 / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002709/0.3952, allocations: 20 kB / 1.025 GB, free: 2.781 MB / 0.795 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.0001482/0.3953, allocations: 107.2 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005154/0.3958, allocations: 175.7 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3958, allocations: 0 / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3961, allocations: 87.92 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3965, allocations: 22.33 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.397, allocations: 264.6 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3973, allocations: 0.7119 MB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.55e-05/0.3974, allocations: 23.97 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.3974, allocations: 15.44 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.3974, allocations: 4 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of Templates: time 0.003425/0.4009, allocations: 1.194 MB / 1.028 GB, free: 136 kB / 0.795 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 -s gbode -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/jenkins1/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