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.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.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.001608/0.001608, allocations: 111 kB / 15.99 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.001752/0.001752, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.541/2.541, allocations: 437.1 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 72.33 kB / 0.8694 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3183, allocations: 151.6 MB / 1.018 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002383/0.3208, allocations: 0.7923 MB / 1.018 GB, free: 10.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.321, allocations: 55.83 kB / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3211, allocations: 3.938 kB / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.3213, allocations: 11.92 kB / 1.018 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.3213, allocations: 11.92 kB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.3215, allocations: 23.98 kB / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.3217, allocations: 127.6 kB / 1.019 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.322, allocations: 162 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.3221, allocations: 59.8 kB / 1.019 GB, free: 9.711 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3222, allocations: 79.64 kB / 1.019 GB, free: 9.633 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.3223, allocations: 12 kB / 1.019 GB, free: 9.621 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-05/0.3223, allocations: 8 kB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.3224, allocations: 59.83 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.706e-05/0.3225, allocations: 87.36 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3227, allocations: 171.7 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3227, allocations: 0 / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3228, allocations: 4 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.3228, allocations: 4 kB / 1.019 GB, free: 9.293 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.0006758/0.3234, allocations: 0.4914 MB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3235, allocations: 12.92 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.3236, allocations: 20.66 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.3239, allocations: 268.3 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3239, allocations: 16.75 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.3239, allocations: 16.38 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.3245, allocations: 344.9 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3245, allocations: 0 / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.3245, allocations: 8 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.3246, allocations: 15.98 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.3249, allocations: 263.8 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3262, allocations: 1.08 MB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3263, allocations: 169.1 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.3264, allocations: 80.14 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.3264, allocations: 75.28 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/0.3265, allocations: 114 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3265, allocations: 0 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001098/0.3266, allocations: 58.83 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.3267, allocations: 126.7 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.3273, allocations: 0.4964 MB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3273, allocations: 29.64 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.3275, allocations: 171.8 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.3275, allocations: 4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.3275, allocations: 33.7 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3277, allocations: 338.8 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.3278, allocations: 47.95 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3279, allocations: 89.97 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.328, allocations: 105.9 kB / 1.023 GB, free: 4.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.328, allocations: 0 / 1.023 GB, free: 4.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003154/0.3284, allocations: 189.2 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3284, allocations: 10.59 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3284, allocations: 0 / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3284, allocations: 4 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3285, allocations: 23.92 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3286, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3287, allocations: 39.67 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.3287, allocations: 12 kB / 1.024 GB, free: 4.312 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.0001809/0.3289, allocations: 246.3 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.329, allocations: 140.6 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/0.3291, allocations: 130.8 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.698e-05/0.3292, allocations: 180.3 kB / 1.024 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.641e-05/0.3292, allocations: 184.2 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.872e-05/0.3293, allocations: 180.3 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.3297, allocations: 497 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/0.3297, allocations: 101 kB / 1.025 GB, free: 2.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.3298, allocations: 105 kB / 1.025 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-05/0.3299, allocations: 188.1 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-05/0.33, allocations: 176.3 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.117e-05/0.3301, allocations: 188.2 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.249e-05/0.3302, allocations: 184.5 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.3304, allocations: 327.4 kB / 1.026 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3305, allocations: 213.9 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.3306, allocations: 192.1 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3307, allocations: 109 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.3308, allocations: 184.2 kB / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.3309, allocations: 105 kB / 1.027 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003858/0.3313, allocations: 362.9 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 0 / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002814/0.3316, allocations: 24 kB / 1.028 GB, free: 160 kB / 0.795 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.000206/0.3318, allocations: 183 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.3319, allocations: 63.89 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.332, allocations: 0 / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.332, allocations: 0 / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.3326, allocations: 489.1 kB / 1.028 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.3333, allocations: 0.5284 MB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.3337, allocations: 0.7749 MB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.3337, allocations: 19.44 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3337, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.004849/0.3386, allocations: 2.624 MB / 1.032 GB, free: 11.41 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=400 -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