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.001718/0.001718, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 188.9 kB / 16.66 MB, free: 6.582 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.835/2.835, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.415, allocations: 151.6 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002276/0.4173, allocations: 0.7722 MB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.4185, allocations: 0.8277 MB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.4186, allocations: 0 / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.4188, allocations: 63.78 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.4189, allocations: 31.84 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.876e-05/0.419, allocations: 23.97 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.4191, allocations: 87.73 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.4193, allocations: 23.98 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.4194, allocations: 47.83 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.4196, allocations: 83.78 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.4196, allocations: 8 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.262e-05/0.4196, allocations: 8 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.4197, allocations: 39.84 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.4198, allocations: 39.73 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.42, allocations: 115.5 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.42, allocations: 4 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.687e-06/0.42, allocations: 0 / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.42, allocations: 3.938 kB / 1.169 GB, free: 4.57 MB / 0.92 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.000845/0.4208, allocations: 462.8 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4209, allocations: 15.98 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.421, allocations: 12.84 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.4212, allocations: 212.1 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4212, allocations: 4.375 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.4212, allocations: 4.375 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.4217, allocations: 151.9 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4217, allocations: 192 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4217, allocations: 3.938 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4217, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.4223, allocations: 179.7 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.4231, allocations: 0.5047 MB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.4235, allocations: 161.1 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.4238, allocations: 97.72 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.4238, allocations: 4 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4238, allocations: 38.55 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.4239, allocations: 0 / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0009018/0.4248, allocations: 285.3 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4248, allocations: 81.11 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.425, allocations: 160.4 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.425, allocations: 33.64 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.4251, allocations: 96.14 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.4252, allocations: 31.73 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.4253, allocations: 21.72 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4254, allocations: 326.8 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.4256, allocations: 79.86 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.4259, allocations: 101.6 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.4263, allocations: 169.6 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.4264, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000534/0.4269, allocations: 213.4 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4269, allocations: 4 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4269, allocations: 0 / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.427, allocations: 4 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.4272, allocations: 31.95 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.4272, allocations: 4.156 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.4273, allocations: 27.95 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4273, allocations: 3.984 kB / 1.172 GB, free: 0.8438 MB / 0.92 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 9.654e-05/0.4274, allocations: 133.7 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.4275, allocations: 11.95 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/0.4276, allocations: 20.23 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4276, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4276, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4276, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.4279, allocations: 233.5 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4279, allocations: 0 / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.4281, allocations: 36.42 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4281, allocations: 7.938 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4281, allocations: 0 / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4281, allocations: 0 / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4281, allocations: 0 / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.4288, allocations: 390.5 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.4288, allocations: 92.95 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.4288, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.429, allocations: 27.95 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.4291, allocations: 8 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.4291, allocations: 8 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.273e-05/0.4292, allocations: 130.5 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4292, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002741/0.4295, allocations: 16 kB / 1.173 GB, free: 15.65 MB / 0.9356 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.0001461/0.4296, allocations: 99.25 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005972/0.4303, allocations: 179.7 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4303, allocations: 0 / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.4305, allocations: 99.78 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.4309, allocations: 18.92 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.4314, allocations: 252.4 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.4317, allocations: 0.708 MB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.706e-05/0.4318, allocations: 31.95 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.4318, allocations: 15.44 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.4319, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.003749/0.4356, allocations: 1.192 MB / 1.176 GB, free: 13.02 MB / 0.9356 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