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.0007933/0.0007935, allocations: 98.88 kB / 16.02 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.0009763/0.0009763, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.836/2.836, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 11.47 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3242, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001141/0.3254, allocations: 0.4884 MB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3266, allocations: 0.8351 MB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.3267, allocations: 3.938 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.3269, allocations: 55.84 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.163e-05/0.327, allocations: 27.91 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.557e-05/0.3271, allocations: 15.98 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3273, allocations: 91.67 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3274, allocations: 20 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.3275, allocations: 39.83 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3277, allocations: 75.78 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3277, allocations: 8 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.3278, allocations: 4 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.3278, allocations: 27.91 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.3279, allocations: 61.44 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.328, allocations: 87.81 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3281, allocations: 0 / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.666e-06/0.3281, allocations: 0 / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3281, allocations: 3.938 kB / 1.061 GB, free: 3.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.0008191/0.3289, allocations: 467.3 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.329, allocations: 11.97 kB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.329, allocations: 12.75 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3292, allocations: 210 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.3293, allocations: 12.38 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.3293, allocations: 384 / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.3297, allocations: 167.9 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3298, allocations: 192 / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3298, allocations: 7.938 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3298, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.3304, allocations: 207.7 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.3313, allocations: 0.5126 MB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.3318, allocations: 181.1 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.3321, allocations: 113.7 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.3321, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3321, allocations: 34.55 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.3321, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0009915/0.3331, allocations: 333.2 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.3332, allocations: 85.11 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3333, allocations: 166.9 kB / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3334, allocations: 29.7 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.3334, allocations: 100.1 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.3335, allocations: 31.55 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.3335, allocations: 13.72 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3337, allocations: 322.8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.334, allocations: 99.86 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.3343, allocations: 109.6 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.3348, allocations: 209.9 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3348, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006054/0.3354, allocations: 241.4 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3355, allocations: 5.406 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3355, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3355, allocations: 4 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.3357, allocations: 43.95 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3357, allocations: 0 / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3359, allocations: 39.81 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3359, allocations: 7.984 kB / 1.065 GB, free: 15.13 MB / 0.8262 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.0001184/0.336, allocations: 133.7 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.3361, allocations: 7.906 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.3361, allocations: 20.23 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3362, allocations: 4 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3362, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3362, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3365, allocations: 221.5 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3365, allocations: 4 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.3367, allocations: 47.95 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3367, allocations: 3.938 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3367, allocations: 4 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3367, allocations: 4 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3367, allocations: 0 / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.3374, allocations: 426.3 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.3375, allocations: 85.02 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3375, allocations: 0 / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.3377, allocations: 35.95 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.3378, allocations: 11.98 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3378, allocations: 4 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.864e-05/0.3379, allocations: 123.4 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3379, allocations: 0 / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002826/0.3382, allocations: 16 kB / 1.066 GB, free: 13.91 MB / 0.8262 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.0001683/0.3384, allocations: 103.2 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006214/0.339, allocations: 207.7 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.339, allocations: 0 / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.3393, allocations: 111.8 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3397, allocations: 15.94 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.3403, allocations: 311.9 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3406, allocations: 0.7165 MB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.3406, allocations: 15.44 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3406, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.003514/0.3442, allocations: 1.474 MB / 1.069 GB, free: 10.91 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