Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108 kB / 15.61 MB, free: 148 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.001141/0.001141, allocations: 196.9 kB / 16.53 MB, free: 6.656 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.677/2.677, allocations: 437 MB / 0.7103 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.91 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7307, allocations: 151.6 MB / 1.017 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002903/0.7337, allocations: 0.7424 MB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.7341, allocations: 59.81 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.7342, allocations: 11.94 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.7344, allocations: 11.86 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.22e-05/0.7345, allocations: 15.92 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.7348, allocations: 15.98 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.7351, allocations: 127.6 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.7354, allocations: 160.5 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.7356, allocations: 67.78 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.7357, allocations: 75.64 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.7358, allocations: 11.94 kB / 1.019 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.421e-05/0.7359, allocations: 16 kB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.736, allocations: 55.84 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.7362, allocations: 83.42 kB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.7366, allocations: 227.3 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.7366, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.907e-06/0.7366, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.7366, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001099/0.7378, allocations: 497 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.972e-05/0.7378, allocations: 12.03 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.738, allocations: 32.66 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.7384, allocations: 259.7 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.7384, allocations: 16.75 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.7385, allocations: 16.38 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.7391, allocations: 337.1 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.7392, allocations: 3.938 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.7392, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/0.7393, allocations: 23.98 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.7397, allocations: 263.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.7412, allocations: 1.088 MB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.7413, allocations: 169.1 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.7414, allocations: 84.14 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.7414, allocations: 75.28 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.7415, allocations: 110 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.7415, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.000159/0.7416, allocations: 57.3 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.7417, allocations: 130.7 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006213/0.7424, allocations: 0.5081 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.7424, allocations: 25.7 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.7425, allocations: 163.8 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-06/0.7425, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.7426, allocations: 29.7 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.7428, allocations: 338.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.7429, allocations: 51.95 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.743, allocations: 98.83 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.7432, allocations: 118.7 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7432, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000334/0.7435, allocations: 193 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7435, allocations: 16.19 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7436, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7436, allocations: 7.938 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.7437, allocations: 19.98 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.7437, allocations: 7.938 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.7438, allocations: 39.61 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.7439, allocations: 8 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001863/0.7441, allocations: 249 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.7442, allocations: 132.6 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.7443, allocations: 142.8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-05/0.7444, allocations: 176.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-05/0.7445, allocations: 180.2 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.247e-05/0.7445, allocations: 180.3 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.7449, allocations: 493.1 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.283e-05/0.745, allocations: 108.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.745, allocations: 101 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.509e-05/0.7451, allocations: 188.1 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/0.7452, allocations: 180.3 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.085e-05/0.7453, allocations: 176.3 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-05/0.7453, allocations: 184.2 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.7455, allocations: 335.5 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.7457, allocations: 209.8 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.7458, allocations: 188.2 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.746, allocations: 104.9 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.7461, allocations: 184.3 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.7461, allocations: 108.9 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004256/0.7466, allocations: 367 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7466, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003281/0.7469, allocations: 24 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002127/0.7471, allocations: 174.5 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.7473, allocations: 68.23 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7473, allocations: 0 / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.7473, allocations: 0 / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.748, allocations: 482.5 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.7487, allocations: 487.5 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.7491, allocations: 0.7749 MB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000124/0.7492, allocations: 45.53 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.7493, allocations: 23.42 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of SimCode: time 4.5e-07/0.7493, allocations: 11.88 kB / 1.029 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of Templates: time 0.005067/0.7544, allocations: 1.738 MB / 1.031 GB, free: 3.914 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches