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.001706/0.001706, allocations: 108.5 kB / 15.99 MB, free: 6.348 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.002206/0.002206, allocations: 193.5 kB / 16.91 MB, free: 6.188 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.551/2.551, allocations: 437.1 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 72 kB / 0.8694 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3426, allocations: 151.6 MB / 1.018 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002179/0.3448, allocations: 0.8273 MB / 1.018 GB, free: 10.17 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3459, allocations: 0.8327 MB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.346, allocations: 4 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.3462, allocations: 47.88 kB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.3464, allocations: 47.81 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.59e-05/0.3464, allocations: 11.98 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3466, allocations: 87.77 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.3468, allocations: 31.95 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.3469, allocations: 39.84 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3471, allocations: 83.78 kB / 1.019 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.3471, allocations: 8 kB / 1.019 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.3471, allocations: 8 kB / 1.019 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.3472, allocations: 39.89 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.3473, allocations: 39.73 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.3474, allocations: 83.84 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3474, allocations: 3.938 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3474, allocations: 4 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3474, allocations: 4 kB / 1.02 GB, free: 8.793 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.0008074/0.3482, allocations: 455.1 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3483, allocations: 16.88 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3483, allocations: 16.69 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.3486, allocations: 210.7 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3486, allocations: 4.375 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.3486, allocations: 8.375 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.349, allocations: 147.9 kB / 1.02 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.349, allocations: 192 / 1.02 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.3491, allocations: 11.88 kB / 1.02 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3491, allocations: 0 / 1.02 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.3496, allocations: 171.8 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009607/0.3506, allocations: 0.4969 MB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.351, allocations: 161.1 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3513, allocations: 101.7 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3513, allocations: 4 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3513, allocations: 38.48 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3514, allocations: 0 / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0009317/0.3523, allocations: 277.4 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.3524, allocations: 85.05 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3525, allocations: 164.4 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3526, allocations: 33.64 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.3526, allocations: 108.1 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.3527, allocations: 31.55 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.3527, allocations: 17.72 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3529, allocations: 326.8 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.3532, allocations: 75.92 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.3534, allocations: 97.62 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.3539, allocations: 169.6 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3539, allocations: 4 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005712/0.3545, allocations: 205.4 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3545, allocations: 4 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3545, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3546, allocations: 4 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.3548, allocations: 35.95 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3548, allocations: 7.938 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3549, allocations: 35.8 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.355, allocations: 0 / 1.023 GB, free: 5.07 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.0001113/0.3551, allocations: 125.8 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.3551, allocations: 15.89 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.3552, allocations: 20.25 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3552, allocations: 4 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3552, allocations: 0 / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3552, allocations: 0 / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.3555, allocations: 225.5 kB / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3555, allocations: 3.938 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3557, allocations: 35.95 kB / 1.023 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3558, allocations: 4 kB / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3558, allocations: 480 / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3558, allocations: 0 / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3558, allocations: 0 / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.3564, allocations: 394.3 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.3565, allocations: 89 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.3565, allocations: 4 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3567, allocations: 27.95 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3568, allocations: 7.984 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3568, allocations: 4 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001048/0.3569, allocations: 125.9 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3569, allocations: 0 / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002862/0.3572, allocations: 20 kB / 1.024 GB, free: 3.891 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.0001413/0.3574, allocations: 103.7 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005972/0.358, allocations: 183.8 kB / 1.024 GB, free: 3.598 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.358, allocations: 0 / 1.024 GB, free: 3.598 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.3583, allocations: 95.8 kB / 1.024 GB, free: 3.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3586, allocations: 10.06 kB / 1.024 GB, free: 3.496 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.3592, allocations: 312.8 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3596, allocations: 0.7142 MB / 1.025 GB, free: 2.418 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.3597, allocations: 11.44 kB / 1.025 GB, free: 2.406 MB / 0.795 GB Notification: Performance of SimCode: time 2.104e-06/0.3597, allocations: 0 / 1.025 GB, free: 2.406 MB / 0.795 GB Notification: Performance of Templates: time 0.00351/0.3632, allocations: 1.504 MB / 1.027 GB, free: 0.9102 MB / 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=400 -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