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.001207/0.001207, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001223/0.001222, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.586/2.586, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 76.14 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002125/0.3571, allocations: 0.7449 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002373/0.3574, allocations: 55.83 kB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.3575, allocations: 3.938 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.3576, allocations: 19.86 kB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.3577, allocations: 19.91 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.3578, allocations: 19.98 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.358, allocations: 123.6 kB / 1.019 GB, free: 9.648 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.3583, allocations: 160.5 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.3584, allocations: 71.78 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3585, allocations: 71.64 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.3586, allocations: 12 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.412e-05/0.3586, allocations: 12 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.3587, allocations: 47.86 kB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3588, allocations: 83.42 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.3591, allocations: 235.3 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3591, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3591, allocations: 0 / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3591, allocations: 0 / 1.02 GB, free: 8.965 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006244/0.3598, allocations: 0.4953 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3598, allocations: 8.031 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.3599, allocations: 24.66 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.3602, allocations: 256.8 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3602, allocations: 12.75 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.3603, allocations: 20.36 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.3608, allocations: 345.1 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3608, allocations: 3.938 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3609, allocations: 12 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.3609, allocations: 15.98 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.3613, allocations: 269.1 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.3626, allocations: 1.088 MB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3628, allocations: 169.1 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.3628, allocations: 80.14 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.3629, allocations: 75.28 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.3629, allocations: 114 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3629, allocations: 0 / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001115/0.363, allocations: 53.3 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.3631, allocations: 130.7 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.3638, allocations: 0.5003 MB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3638, allocations: 25.7 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.364, allocations: 171.8 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.364, allocations: 8 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.364, allocations: 33.61 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3642, allocations: 338.8 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.3643, allocations: 47.95 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3644, allocations: 98.83 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3646, allocations: 122.7 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3646, allocations: 3.938 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003256/0.3649, allocations: 189.1 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.365, allocations: 11.88 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.365, allocations: 4 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.365, allocations: 3.984 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3651, allocations: 20.25 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3652, allocations: 15.92 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.3653, allocations: 31.69 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3653, allocations: 4 kB / 1.024 GB, free: 3.93 MB / 0.795 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.000212/0.3655, allocations: 245.1 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3656, allocations: 132.6 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.3657, allocations: 138.8 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.3e-05/0.3658, allocations: 184.3 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.132e-05/0.3659, allocations: 181.7 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.951e-05/0.366, allocations: 180.3 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.3664, allocations: 493.1 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-05/0.3664, allocations: 104.9 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.3665, allocations: 109 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-05/0.3666, allocations: 188.1 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-05/0.3667, allocations: 176.3 kB / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.332e-05/0.3668, allocations: 176.3 kB / 1.026 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.994e-05/0.3669, allocations: 188.2 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.3671, allocations: 331.4 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.3672, allocations: 214.2 kB / 1.027 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.3674, allocations: 180.2 kB / 1.027 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3676, allocations: 109 kB / 1.027 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3677, allocations: 184.3 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.3678, allocations: 104.9 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005506/0.3683, allocations: 371 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3683, allocations: 0 / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002689/0.3686, allocations: 24 kB / 1.028 GB, free: 15.78 MB / 0.8106 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.00019/0.3688, allocations: 174.5 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.369, allocations: 67.89 kB / 1.028 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.369, allocations: 4.5 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.369, allocations: 4 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.3696, allocations: 485.3 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.3703, allocations: 0.5007 MB / 1.029 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.3708, allocations: 0.7827 MB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.3709, allocations: 19.44 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3709, allocations: 0 / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of Templates: time 0.004875/0.3757, allocations: 2.633 MB / 1.033 GB, free: 11.05 MB / 0.8106 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=400 -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/jenkins1/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