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.001112/0.001112, allocations: 105.2 kB / 15.98 MB, free: 6.352 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.001156/0.001156, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.152/2.152, allocations: 390.3 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 67.44 kB / 0.8127 GB, free: 33.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3723, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.004423/0.3768, allocations: 0.8369 MB / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3791, allocations: 0.8274 MB / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3793, allocations: 0 / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.3797, allocations: 55.84 kB / 0.9515 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.3799, allocations: 31.84 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.3801, allocations: 15.97 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.3803, allocations: 91.75 kB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.3806, allocations: 23.98 kB / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3808, allocations: 43.78 kB / 0.9517 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.3811, allocations: 83.77 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.348e-05/0.3811, allocations: 8 kB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.3812, allocations: 8 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3813, allocations: 35.91 kB / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3815, allocations: 51.73 kB / 0.9518 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3817, allocations: 87.83 kB / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3817, allocations: 0 / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3817, allocations: 0 / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.3818, allocations: 0 / 0.9519 GB, free: 7.004 MB / 0.7325 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.001507/0.3833, allocations: 463.1 kB / 0.9524 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.3834, allocations: 12.03 kB / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.474e-05/0.3834, allocations: 16.75 kB / 0.9524 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.3838, allocations: 204 kB / 0.9526 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3839, allocations: 384 / 0.9526 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.3839, allocations: 8.375 kB / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.3846, allocations: 147.8 kB / 0.9527 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3847, allocations: 4.188 kB / 0.9527 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.3847, allocations: 11.94 kB / 0.9528 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3847, allocations: 0 / 0.9528 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009232/0.3856, allocations: 163.8 kB / 0.9529 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.387, allocations: 0.5008 MB / 0.9534 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.3877, allocations: 165.1 kB / 0.9536 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.3881, allocations: 93.73 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.3882, allocations: 0 / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.3882, allocations: 38.55 kB / 0.9537 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 4.829e-06/0.3883, allocations: 7.938 kB / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001364/0.3896, allocations: 285.5 kB / 0.954 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.3897, allocations: 81.11 kB / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.39, allocations: 161.3 kB / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.39, allocations: 29.7 kB / 0.9542 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3901, allocations: 104.1 kB / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.3902, allocations: 31.55 kB / 0.9544 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3903, allocations: 17.72 kB / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002201/0.3905, allocations: 326.8 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.3909, allocations: 79.92 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.3913, allocations: 89.64 kB / 0.9548 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.392, allocations: 177.5 kB / 0.955 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.392, allocations: 0 / 0.955 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008729/0.3929, allocations: 209.4 kB / 0.9552 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.393, allocations: 9.875 kB / 0.9552 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.393, allocations: 0 / 0.9552 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.393, allocations: 0 / 0.9552 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.3934, allocations: 35.95 kB / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3934, allocations: 0 / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3936, allocations: 31.91 kB / 0.9553 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.3936, allocations: 0 / 0.9553 GB, free: 3.301 MB / 0.7325 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.0001764/0.3938, allocations: 133.8 kB / 0.9554 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.3939, allocations: 15.81 kB / 0.9554 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.394, allocations: 20.23 kB / 0.9555 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.394, allocations: 4 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.394, allocations: 0 / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.394, allocations: 0 / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.3945, allocations: 229.5 kB / 0.9557 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.3946, allocations: 7.938 kB / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.3949, allocations: 31.95 kB / 0.9557 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3949, allocations: 4 kB / 0.9557 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.395, allocations: 4 kB / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.395, allocations: 0 / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.395, allocations: 0 / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3962, allocations: 382.5 kB / 0.9561 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3963, allocations: 88.92 kB / 0.9562 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3964, allocations: 0 / 0.9562 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.3968, allocations: 35.83 kB / 0.9562 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.3969, allocations: 4 kB / 0.9562 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3969, allocations: 4 kB / 0.9562 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001692/0.3971, allocations: 128 kB / 0.9563 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3971, allocations: 4 kB / 0.9563 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005392/0.3977, allocations: 23.94 kB / 0.9564 GB, free: 2.109 MB / 0.7325 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.0003116/0.398, allocations: 99.25 kB / 0.9565 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.3991, allocations: 179.7 kB / 0.9566 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3991, allocations: 0 / 0.9566 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.3996, allocations: 95.84 kB / 0.9567 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.4002, allocations: 12.47 kB / 0.9567 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.4011, allocations: 312.8 kB / 0.957 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.4016, allocations: 0.7195 MB / 0.9577 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.4017, allocations: 15.44 kB / 0.9577 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.4017, allocations: 0 / 0.9577 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of Templates: time 0.005285/0.407, allocations: 1.49 MB / 0.9592 GB, free: 15.14 MB / 0.7481 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