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.001741/0.001741, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001837/0.001837, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.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.446/2.446, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 67.91 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8365/0.838, allocations: 140.4 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002046/0.8401, allocations: 0.8165 MB / 0.9499 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.841, allocations: 0.8328 MB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.841, allocations: 1.656 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.8413, allocations: 49.73 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.8413, allocations: 33.59 kB / 0.9508 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.047e-05/0.8414, allocations: 18.72 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.8415, allocations: 82.27 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.8417, allocations: 30.97 kB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.8418, allocations: 36.41 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.8419, allocations: 98.08 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.8419, allocations: 8.25 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.842, allocations: 8.25 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.842, allocations: 36.28 kB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.8421, allocations: 39.98 kB / 0.9512 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.8422, allocations: 121.9 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8422, allocations: 0 / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8422, allocations: 0 / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8422, allocations: 0 / 0.9513 GB, free: 7.5 MB / 0.7169 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.0007141/0.843, allocations: 463.6 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.843, allocations: 13.47 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.8431, allocations: 14.47 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.8432, allocations: 200 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.8432, allocations: 1.781 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.8432, allocations: 4.5 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.8436, allocations: 153.3 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8437, allocations: 4.188 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.8437, allocations: 3.938 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.8437, allocations: 1.531 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.8442, allocations: 167.6 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/0.845, allocations: 0.5122 MB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.8454, allocations: 166.3 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.8457, allocations: 93.95 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.8458, allocations: 5.375 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.8458, allocations: 35.95 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.8458, allocations: 7.938 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0008984/0.8467, allocations: 282.2 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.8467, allocations: 82.48 kB / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.8469, allocations: 165.3 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.847, allocations: 25.7 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.847, allocations: 97.61 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.8471, allocations: 31.67 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.8471, allocations: 24.19 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.8472, allocations: 329.7 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.8475, allocations: 80.2 kB / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.8478, allocations: 88.11 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.8482, allocations: 176.1 kB / 0.9544 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8482, allocations: 0 / 0.9544 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005781/0.8488, allocations: 203.1 kB / 0.9546 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.8489, allocations: 8.5 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8489, allocations: 1.125 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.8489, allocations: 5.125 kB / 0.9546 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.8492, allocations: 38.02 kB / 0.9546 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.8492, allocations: 1.188 kB / 0.9546 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.8493, allocations: 25.86 kB / 0.9546 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.8493, allocations: 2.094 kB / 0.9546 GB, free: 4.781 MB / 0.7169 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.423e-05/0.8494, allocations: 132.2 kB / 0.9548 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.8495, allocations: 17.92 kB / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.8495, allocations: 15.78 kB / 0.9548 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.8496, allocations: 1.219 kB / 0.9548 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8496, allocations: 1.094 kB / 0.9548 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8496, allocations: 1.156 kB / 0.9548 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.8499, allocations: 230 kB / 0.955 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8499, allocations: 1.781 kB / 0.955 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.8501, allocations: 38.77 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8501, allocations: 5.25 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.8501, allocations: 0 / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8501, allocations: 1.375 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8501, allocations: 1.469 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.8507, allocations: 385.7 kB / 0.9554 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.8508, allocations: 91.77 kB / 0.9555 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.8508, allocations: 5.406 kB / 0.9555 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.851, allocations: 25.58 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.8511, allocations: 12.14 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.8511, allocations: 1.312 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.215e-05/0.8512, allocations: 131.5 kB / 0.9557 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8512, allocations: 0 / 0.9557 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002732/0.8515, allocations: 15.81 kB / 0.9557 GB, free: 3.844 MB / 0.7169 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.0001656/0.8516, allocations: 103.4 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.8522, allocations: 179 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8522, allocations: 0 / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.8525, allocations: 89.05 kB / 0.9561 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.8528, allocations: 13.38 kB / 0.9561 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.8534, allocations: 291 kB / 0.9564 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.8536, allocations: 0.7123 MB / 0.957 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.924e-05/0.8537, allocations: 34.56 kB / 0.9571 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.8537, allocations: 11.84 kB / 0.9571 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8537, allocations: 0 / 0.9571 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.00347/0.8572, allocations: 1.03 MB / 0.9581 GB, free: 2.148 MB / 0.7169 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/jenkins/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