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.001349/0.001349, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001399/0.001399, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 14.98 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.618/2.618, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 69.06 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3277, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002108/0.3299, allocations: 0.7311 MB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002652/0.3302, allocations: 59.83 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.3302, allocations: 4 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.3304, allocations: 11.86 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.3305, allocations: 23.91 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.3307, allocations: 23.97 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.3309, allocations: 123.6 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.3312, allocations: 161.8 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.3313, allocations: 63.8 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3314, allocations: 75.64 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.3315, allocations: 8 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.3315, allocations: 12 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.3316, allocations: 55.84 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.3317, allocations: 83.42 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.332, allocations: 239.2 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.332, allocations: 0 / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.072e-06/0.332, allocations: 0 / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.3321, allocations: 0 / 1.02 GB, free: 8.141 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.0006334/0.3327, allocations: 0.4911 MB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.3327, allocations: 8.922 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.3328, allocations: 24.66 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.3331, allocations: 260.8 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3332, allocations: 16.75 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3332, allocations: 28.34 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.3339, allocations: 329.2 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3339, allocations: 7.938 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.334, allocations: 11.94 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.334, allocations: 15.98 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.3346, allocations: 259.8 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.3364, allocations: 1.088 MB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3366, allocations: 165.1 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.3366, allocations: 80.14 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3367, allocations: 79.28 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.3367, allocations: 113.8 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3367, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.247e-05/0.3368, allocations: 49.55 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.3369, allocations: 130.7 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.3377, allocations: 0.5003 MB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3377, allocations: 25.7 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3379, allocations: 167.8 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/0.3379, allocations: 0 / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.338, allocations: 37.69 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3382, allocations: 334.8 kB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3383, allocations: 55.89 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3385, allocations: 89.91 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3387, allocations: 109.9 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3387, allocations: 4 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004165/0.3392, allocations: 185.1 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3392, allocations: 4 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3392, allocations: 7.938 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3392, allocations: 0 / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3394, allocations: 19.98 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.3394, allocations: 4 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3395, allocations: 39.89 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3396, allocations: 8 kB / 1.025 GB, free: 3.156 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.0002262/0.3398, allocations: 249 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3399, allocations: 124.7 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.3401, allocations: 138.8 kB / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-05/0.3402, allocations: 184.2 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.696e-05/0.3403, allocations: 181.8 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.59e-05/0.3404, allocations: 188.2 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.3407, allocations: 489.1 kB / 1.026 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-05/0.3408, allocations: 101 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.3408, allocations: 108.9 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-05/0.3409, allocations: 176.3 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.341, allocations: 196.1 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.917e-05/0.3411, allocations: 176.3 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.29e-05/0.3412, allocations: 176.3 kB / 1.027 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.3414, allocations: 331.3 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.3416, allocations: 222.1 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.3418, allocations: 180.2 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.342, allocations: 117 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.3421, allocations: 184.2 kB / 1.028 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.3422, allocations: 101 kB / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000568/0.3428, allocations: 367 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3428, allocations: 4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000471/0.3433, allocations: 24 kB / 1.029 GB, free: 15 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.0001863/0.3435, allocations: 174.5 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.3437, allocations: 67.83 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3437, allocations: 3.938 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.105e-06/0.3437, allocations: 0 / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.3444, allocations: 493.4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008121/0.3452, allocations: 463.6 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.3457, allocations: 0.7749 MB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.3459, allocations: 49.52 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.3459, allocations: 15.44 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3459, allocations: 0 / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of Templates: time 0.006521/0.3525, allocations: 1.735 MB / 1.033 GB, free: 11.19 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 gbode -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