Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 109 kB / 16.37 MB, free: 6.465 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.001675/0.001675, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.22 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2826, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001935/0.2845, allocations: 0.7458 MB / 1.02 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.2848, allocations: 51.84 kB / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.2848, allocations: 0 / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.285, allocations: 27.8 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.285, allocations: 11.92 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.2852, allocations: 28.47 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.2854, allocations: 119.7 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.2856, allocations: 160.5 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.421e-05/0.2857, allocations: 63.8 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.2858, allocations: 71.64 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.2858, allocations: 12 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.453e-05/0.2858, allocations: 12 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.487e-05/0.2859, allocations: 67.83 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.286, allocations: 83.42 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.2862, allocations: 235.1 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2862, allocations: 0 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.37e-06/0.2863, allocations: 3.984 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.2863, allocations: 0 / 1.02 GB, free: 8.195 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005869/0.2869, allocations: 499 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2869, allocations: 8.922 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.287, allocations: 24.66 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.2873, allocations: 264.8 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.2873, allocations: 12.75 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.2874, allocations: 16.38 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.2878, allocations: 337.1 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2878, allocations: 3.938 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2879, allocations: 12 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.2879, allocations: 8 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2882, allocations: 271.8 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.2894, allocations: 1.076 MB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.149e-05/0.2895, allocations: 169.1 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.2895, allocations: 84.14 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.2895, allocations: 79.22 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.2896, allocations: 117.8 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2896, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.543e-05/0.2897, allocations: 53.48 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.2898, allocations: 126.7 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.2903, allocations: 0.4964 MB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.2903, allocations: 29.7 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.2904, allocations: 175.7 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.2904, allocations: 0 / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.2905, allocations: 29.7 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2906, allocations: 334.8 kB / 1.025 GB, free: 3.785 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.2907, allocations: 47.97 kB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.2908, allocations: 93.97 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.2909, allocations: 109.8 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2909, allocations: 0 / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002627/0.2912, allocations: 185.2 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2912, allocations: 4 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2912, allocations: 7.938 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2912, allocations: 0 / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.2913, allocations: 24.14 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.2913, allocations: 8 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.2915, allocations: 35.67 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2915, allocations: 8 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001508/0.2916, allocations: 245.1 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.2917, allocations: 132.6 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.2918, allocations: 138.8 kB / 1.026 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/0.2919, allocations: 180.3 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-05/0.2919, allocations: 181.7 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-05/0.292, allocations: 180.3 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.2923, allocations: 0.4893 MB / 1.027 GB, free: 1.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/0.2923, allocations: 101 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.2923, allocations: 105 kB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-05/0.2924, allocations: 184.2 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/0.2925, allocations: 184.2 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-05/0.2925, allocations: 184.2 kB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.241e-05/0.2926, allocations: 176.3 kB / 1.027 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.2927, allocations: 339.3 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2929, allocations: 214.2 kB / 1.028 GB, free: 48 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.293, allocations: 184.1 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2931, allocations: 109 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.2932, allocations: 180.3 kB / 1.028 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.2932, allocations: 108.9 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003398/0.2936, allocations: 371 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2936, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002622/0.2939, allocations: 24 kB / 1.029 GB, free: 15.06 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.0001387/0.294, allocations: 170.5 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.2941, allocations: 63.89 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2941, allocations: 448 / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.2942, allocations: 4 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.2946, allocations: 488.7 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.2952, allocations: 475 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.2955, allocations: 0.7749 MB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.971e-05/0.2956, allocations: 45.53 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.2956, allocations: 15.44 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2957, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.004266/0.2999, allocations: 1.747 MB / 1.033 GB, free: 11.25 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches