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.008065/0.008065, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001603/0.001603, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.82/2.82, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3631, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002093/0.3652, allocations: 0.7295 MB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.3655, allocations: 59.81 kB / 1.167 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.3656, allocations: 3.938 kB / 1.167 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.3657, allocations: 19.86 kB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.3658, allocations: 11.92 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.366, allocations: 35.95 kB / 1.168 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.3662, allocations: 119.7 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.3665, allocations: 156.5 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.473e-05/0.3666, allocations: 67.73 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.876e-05/0.3667, allocations: 71.64 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.3667, allocations: 16 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.347e-05/0.3668, allocations: 12 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.3669, allocations: 60.12 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.367, allocations: 83.42 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.3673, allocations: 239 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3673, allocations: 0 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3673, allocations: 0 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.3673, allocations: 3.938 kB / 1.168 GB, free: 5.09 MB / 0.92 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.0006101/0.3679, allocations: 0.5026 MB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.368, allocations: 12.03 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.368, allocations: 24.8 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3683, allocations: 253 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3683, allocations: 16.73 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.3683, allocations: 20.38 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.3688, allocations: 341.1 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3688, allocations: 3.938 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.3689, allocations: 8 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.3689, allocations: 27.92 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.3693, allocations: 259.8 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.3704, allocations: 1.084 MB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3705, allocations: 169.1 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.3706, allocations: 88.12 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3706, allocations: 75.28 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.3707, allocations: 110 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3707, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001062/0.3708, allocations: 57.39 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.3709, allocations: 134.7 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.3715, allocations: 0.4926 MB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3715, allocations: 25.7 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3717, allocations: 175.8 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.3717, allocations: 4 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.3718, allocations: 33.7 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3719, allocations: 334.8 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.372, allocations: 51.95 kB / 1.172 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3721, allocations: 102.8 kB / 1.173 GB, free: 480 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3722, allocations: 114.7 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3722, allocations: 3.938 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003248/0.3726, allocations: 197.5 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3726, allocations: 11.94 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3726, allocations: 4 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3726, allocations: 0 / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3728, allocations: 19.98 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3728, allocations: 7.938 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3729, allocations: 35.77 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3729, allocations: 4 kB / 1.173 GB, free: 48 kB / 0.92 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.0002229/0.3731, allocations: 249 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3733, allocations: 136.7 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.3734, allocations: 138.8 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.274e-05/0.3735, allocations: 184.2 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.112e-05/0.3736, allocations: 184.1 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-05/0.3736, allocations: 176.3 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.3741, allocations: 493.1 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.034e-05/0.3741, allocations: 108.9 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.3742, allocations: 109 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-05/0.3743, allocations: 184.1 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-05/0.3744, allocations: 180.2 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.093e-05/0.3744, allocations: 180.4 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.494e-05/0.3745, allocations: 188.2 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.3747, allocations: 327.6 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.3749, allocations: 214 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.375, allocations: 184.5 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3752, allocations: 112.9 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3753, allocations: 184.3 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.3753, allocations: 104.9 kB / 1.176 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004031/0.3757, allocations: 367 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3757, allocations: 0 / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002871/0.376, allocations: 28 kB / 1.177 GB, free: 11.87 MB / 0.9356 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.0002595/0.3763, allocations: 174.5 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.3765, allocations: 71.89 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3765, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.3765, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.3771, allocations: 491.4 kB / 1.177 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.3778, allocations: 486.7 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.3783, allocations: 0.7788 MB / 1.179 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.466e-05/0.3784, allocations: 45.53 kB / 1.179 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.3784, allocations: 15.44 kB / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3784, allocations: 0 / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of Templates: time 0.004578/0.383, allocations: 1.752 MB / 1.18 GB, free: 8.031 MB / 0.9356 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