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.002025/0.002025, allocations: 108 kB / 15.6 MB, free: 132 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.002135/0.002134, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.524/1.524, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.891/2.891, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 0.8693 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.7636, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002336/0.766, allocations: 0.7426 MB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.7663, allocations: 55.88 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.7664, allocations: 7.938 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.7665, allocations: 19.86 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.7666, allocations: 11.92 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.7668, allocations: 19.98 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.767, allocations: 119.6 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.7673, allocations: 161.6 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.7673, allocations: 71.78 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.7675, allocations: 71.64 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.7675, allocations: 12 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.163e-05/0.7675, allocations: 16 kB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.7676, allocations: 55.84 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.7677, allocations: 83.42 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.768, allocations: 227.3 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.768, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.563e-06/0.768, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.768, allocations: 0 / 1.019 GB, free: 0.8281 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.0006462/0.7687, allocations: 0.4931 MB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.7687, allocations: 15.91 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.7688, allocations: 28.66 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.7691, allocations: 259.8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.7691, allocations: 12.75 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.7692, allocations: 16.38 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.7697, allocations: 341.1 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.7697, allocations: 3.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.7698, allocations: 8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.7698, allocations: 19.98 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.7702, allocations: 263.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.7715, allocations: 1.088 MB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.7716, allocations: 165.1 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.7717, allocations: 84.14 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.7717, allocations: 75.28 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.7718, allocations: 110 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.956e-06/0.7718, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001122/0.7719, allocations: 57.3 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.772, allocations: 130.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.7726, allocations: 0.5042 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.7727, allocations: 25.7 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.7728, allocations: 167.8 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.7728, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.7729, allocations: 29.7 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7731, allocations: 338.8 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.7732, allocations: 51.95 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.7733, allocations: 98.83 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.7735, allocations: 118.7 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7735, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003749/0.7739, allocations: 197 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7739, allocations: 12.19 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7739, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7739, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7741, allocations: 19.98 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.7741, allocations: 7.938 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.7742, allocations: 39.67 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.7742, allocations: 4 kB / 1.024 GB, free: 11.8 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.0002081/0.7744, allocations: 249 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.7745, allocations: 132.6 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.7747, allocations: 138.8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.562e-05/0.7748, allocations: 176.3 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.782e-05/0.7749, allocations: 184.2 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001095/0.775, allocations: 184.2 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.7754, allocations: 0.4892 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.789e-05/0.7755, allocations: 105 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.7755, allocations: 105 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.7756, allocations: 188.1 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.7757, allocations: 180.3 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001151/0.7759, allocations: 180.2 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.77e-05/0.776, allocations: 184.3 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.7763, allocations: 331.5 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.7765, allocations: 209.8 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.7766, allocations: 192.1 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.7768, allocations: 105 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.7769, allocations: 180.3 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.7769, allocations: 104.9 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000451/0.7774, allocations: 367 kB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7774, allocations: 0 / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000322/0.7777, allocations: 24 kB / 1.027 GB, free: 7.641 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.0002158/0.7779, allocations: 174.5 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.7781, allocations: 72.23 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7781, allocations: 0 / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.7782, allocations: 4 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.7788, allocations: 483.1 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007573/0.7796, allocations: 483.6 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.7801, allocations: 0.7788 MB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.737e-05/0.7802, allocations: 45.53 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.7803, allocations: 19.42 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7803, allocations: 4 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of Templates: time 0.005253/0.7856, allocations: 1.728 MB / 1.031 GB, free: 3.82 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=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/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