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.001167/0.001167, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001261/0.001261, 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 13.67 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.415/2.415, allocations: 437 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 65.12 kB / 0.8694 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3046, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002469/0.3071, allocations: 0.8063 MB / 1.018 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003007/0.3075, allocations: 51.84 kB / 1.018 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.3076, allocations: 0 / 1.018 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3077, allocations: 19.86 kB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.3078, allocations: 3.984 kB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.308, allocations: 27.97 kB / 1.018 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3082, allocations: 131.6 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.3085, allocations: 153.8 kB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-05/0.3086, allocations: 63.78 kB / 1.019 GB, free: 9.699 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.3087, allocations: 79.64 kB / 1.019 GB, free: 9.621 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.3088, allocations: 16 kB / 1.019 GB, free: 9.605 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.963e-05/0.3088, allocations: 12 kB / 1.019 GB, free: 9.594 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.3089, allocations: 51.84 kB / 1.019 GB, free: 9.543 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.309, allocations: 83.42 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3092, allocations: 171.7 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3092, allocations: 4 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.614e-06/0.3092, allocations: 0 / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3092, allocations: 0 / 1.019 GB, free: 9.289 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.0006099/0.3098, allocations: 0.4914 MB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3099, allocations: 16.92 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.3099, allocations: 20.66 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3103, allocations: 267.7 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.3103, allocations: 12.75 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.3103, allocations: 16.38 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.3109, allocations: 333.2 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3109, allocations: 3.938 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3109, allocations: 19.97 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.311, allocations: 12 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.3113, allocations: 267.8 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.3125, allocations: 1.076 MB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.3126, allocations: 169.1 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.3127, allocations: 80.14 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3127, allocations: 79.22 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.3127, allocations: 109.8 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3128, allocations: 0 / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001087/0.3129, allocations: 59.06 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.3129, allocations: 130.7 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.3135, allocations: 0.4925 MB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3135, allocations: 25.7 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3136, allocations: 179.7 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.3136, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.3137, allocations: 29.7 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3138, allocations: 334.8 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.3139, allocations: 51.95 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.314, allocations: 97.91 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3141, allocations: 105.9 kB / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3142, allocations: 0 / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003011/0.3145, allocations: 185.1 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3145, allocations: 7.938 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3145, allocations: 12.16 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3145, allocations: 0 / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3146, allocations: 19.98 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3147, allocations: 4 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3148, allocations: 35.67 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3148, allocations: 8 kB / 1.024 GB, free: 4.309 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.0001548/0.3149, allocations: 249 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/0.315, allocations: 124.7 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.396e-05/0.3151, allocations: 146.8 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/0.3152, allocations: 184.2 kB / 1.024 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.429e-05/0.3153, allocations: 176.3 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/0.3153, allocations: 180.2 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.3156, allocations: 493.1 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/0.3157, allocations: 109 kB / 1.025 GB, free: 2.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.3157, allocations: 105 kB / 1.025 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.343e-05/0.3158, allocations: 184.2 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.3159, allocations: 184.1 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.263e-05/0.316, allocations: 180.3 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-05/0.3161, allocations: 176.5 kB / 1.026 GB, free: 1.723 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.3162, allocations: 339.4 kB / 1.026 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.3164, allocations: 213.8 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-05/0.3165, allocations: 184.2 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3166, allocations: 105 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.3167, allocations: 184.2 kB / 1.027 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.3167, allocations: 109 kB / 1.027 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003556/0.3171, allocations: 363 kB / 1.027 GB, free: 184 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3171, allocations: 3.938 kB / 1.027 GB, free: 180 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002866/0.3174, allocations: 24 kB / 1.028 GB, free: 156 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.0001797/0.3176, allocations: 174.5 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.3177, allocations: 71.95 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3177, allocations: 0 / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3177, 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.0006061/0.3184, allocations: 480.8 kB / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.319, allocations: 0.537 MB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.3195, allocations: 0.771 MB / 1.029 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/0.3196, allocations: 23.42 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/0.3196, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.00489/0.3245, allocations: 2.635 MB / 1.032 GB, free: 11.4 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 -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