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.001189/0.001189, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001215/0.001215, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.844/2.844, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 72.5 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2845, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002156/0.2867, allocations: 0.7437 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.287, allocations: 51.89 kB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.2871, allocations: 7.938 kB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.2873, allocations: 11.86 kB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.2874, allocations: 11.92 kB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.2875, allocations: 27.97 kB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.2877, allocations: 131.6 kB / 1.019 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.288, allocations: 160.5 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.2881, allocations: 63.8 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2882, allocations: 75.64 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.2883, allocations: 8 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.922e-05/0.2883, allocations: 12 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.2884, allocations: 51.86 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2885, allocations: 91.39 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.2887, allocations: 223.3 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2888, allocations: 0 / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2888, allocations: 0 / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.2888, allocations: 4 kB / 1.02 GB, free: 8.984 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.0005732/0.2894, allocations: 0.4892 MB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2894, allocations: 12.62 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.2895, allocations: 24.66 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.2898, allocations: 260.8 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2898, allocations: 16.75 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.2898, allocations: 16.38 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.2903, allocations: 349.1 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2903, allocations: 3.938 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.2903, allocations: 4 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.2904, allocations: 16 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.2907, allocations: 267.8 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2919, allocations: 1.088 MB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.292, allocations: 173.1 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.2921, allocations: 80.14 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.2921, allocations: 75.28 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.2921, allocations: 106 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.2922, allocations: 7.938 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001179/0.2923, allocations: 53.36 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.2923, allocations: 130.7 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/0.2929, allocations: 0.4964 MB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2929, allocations: 25.7 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.293, allocations: 167.8 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.293, allocations: 3.984 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.2931, allocations: 37.56 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2932, allocations: 342.8 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.2933, allocations: 47.95 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.2934, allocations: 106.8 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.2935, allocations: 114.8 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2935, allocations: 0 / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000302/0.2938, allocations: 197.1 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2939, allocations: 15.88 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2939, allocations: 0 / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2939, allocations: 4 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.294, allocations: 23.97 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.294, allocations: 3.938 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.2941, allocations: 31.69 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.2942, allocations: 12.25 kB / 1.024 GB, free: 3.949 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.0001607/0.2943, allocations: 249.1 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.2944, allocations: 132.6 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.2945, allocations: 134.8 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-05/0.2946, allocations: 176.3 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.215e-05/0.2946, allocations: 181.7 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-05/0.2947, allocations: 192.3 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.295, allocations: 493.1 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/0.295, allocations: 109 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.2951, allocations: 101 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.09e-05/0.2951, allocations: 184.1 kB / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.2952, allocations: 184.3 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.855e-05/0.2953, allocations: 180.2 kB / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-05/0.2953, allocations: 180.2 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.2955, allocations: 331.4 kB / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2956, allocations: 210.2 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.2957, allocations: 192.1 kB / 1.027 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2958, allocations: 101 kB / 1.027 GB, free: 492 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.2959, allocations: 188.3 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.2959, allocations: 108.9 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000389/0.2963, allocations: 363 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2963, allocations: 0 / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002784/0.2966, allocations: 28 kB / 1.028 GB, free: 15.79 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.0001594/0.2968, allocations: 182.5 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2969, allocations: 63.89 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2969, allocations: 0 / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.297, allocations: 0 / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.2975, allocations: 493.6 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.2982, allocations: 0.493 MB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.2985, allocations: 0.7788 MB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.2986, allocations: 23.42 kB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2986, allocations: 0 / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.004557/0.3032, allocations: 2.632 MB / 1.033 GB, free: 11.07 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=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/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