Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.005387/0.005387, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001199/0.001199, allocations: 194.2 kB / 16.79 MB, free: 5.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 64.95 kB / 0.8991 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3279, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002138/0.3301, allocations: 0.8274 MB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.331, allocations: 0.8273 MB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.3311, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3313, allocations: 59.84 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.3314, allocations: 31.84 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.472e-05/0.3315, allocations: 15.97 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3317, allocations: 87.75 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.3318, allocations: 27.92 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-05/0.3319, allocations: 31.91 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3321, allocations: 83.77 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.3321, allocations: 4 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.3321, allocations: 4 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.3322, allocations: 35.91 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.3323, allocations: 43.67 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3324, allocations: 83.83 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3324, allocations: 0 / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.81e-07/0.3324, allocations: 4 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3324, allocations: 0 / 1.055 GB, free: 6.109 MB / 0.8106 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.0008387/0.3333, allocations: 463.1 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3333, allocations: 19.95 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.3334, allocations: 12.75 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3336, allocations: 204.1 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.3336, allocations: 384 / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3336, allocations: 8.359 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.334, allocations: 155.8 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3341, allocations: 192 / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3341, allocations: 7.875 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3341, allocations: 0 / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.3346, allocations: 167.8 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008518/0.3355, allocations: 0.5085 MB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.3359, allocations: 161.1 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.3362, allocations: 89.73 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3362, allocations: 4 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3362, allocations: 42.5 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3362, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000894/0.3371, allocations: 285.3 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3372, allocations: 81.11 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3374, allocations: 161.1 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3374, allocations: 29.7 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.3375, allocations: 100.1 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.3375, allocations: 31.55 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.3376, allocations: 17.72 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3377, allocations: 330.8 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.3379, allocations: 75.92 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.3382, allocations: 93.64 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.3387, allocations: 181.9 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3387, allocations: 0 / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005435/0.3392, allocations: 205.4 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3392, allocations: 4 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3393, allocations: 3.938 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3393, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.3395, allocations: 35.89 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3395, allocations: 0 / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.3397, allocations: 35.75 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3397, allocations: 4 kB / 1.058 GB, free: 2.387 MB / 0.8106 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.0001005/0.3398, allocations: 133.8 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3398, allocations: 7.906 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.3399, allocations: 24.23 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3399, allocations: 0 / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3399, allocations: 0 / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3399, allocations: 0 / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.3402, allocations: 229.5 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3402, allocations: 0 / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3404, allocations: 39.95 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3404, allocations: 4 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3404, allocations: 4 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3404, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3404, allocations: 3.938 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.341, allocations: 386.4 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.3411, allocations: 85.02 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3411, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3413, allocations: 19.97 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.3414, allocations: 11.98 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3414, allocations: 8 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.3415, allocations: 131.6 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3415, allocations: 0 / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002879/0.3418, allocations: 16 kB / 1.059 GB, free: 1.211 MB / 0.8106 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.0001472/0.342, allocations: 99.19 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005451/0.3425, allocations: 175.8 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3425, allocations: 0 / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.3428, allocations: 87.86 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3432, allocations: 23.08 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.3437, allocations: 312 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.344, allocations: 0.716 MB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.3441, allocations: 11.44 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3441, allocations: 0 / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.003268/0.3474, allocations: 1.486 MB / 1.062 GB, free: 14.25 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches