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.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.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.001367/0.001367, allocations: 111.4 kB / 16.37 MB, free: 5.984 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.001478/0.001478, allocations: 194.6 kB / 17.31 MB, free: 5.602 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 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.415/2.415, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 71.42 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.319, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002064/0.3211, allocations: 0.7416 MB / 1.02 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.3214, allocations: 59.83 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.3214, allocations: 3.938 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.3216, allocations: 23.86 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.3216, allocations: 11.92 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.3218, allocations: 27.95 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.322, allocations: 123.6 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.3223, allocations: 156.5 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.3224, allocations: 63.8 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.3225, allocations: 75.62 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.3225, allocations: 12 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.3225, allocations: 12 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.3226, allocations: 59.84 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3227, allocations: 83.42 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.323, allocations: 239.1 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.323, allocations: 3.984 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.413e-06/0.323, allocations: 0 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.323, allocations: 0 / 1.02 GB, free: 8.152 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.0006182/0.3236, allocations: 499 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3237, allocations: 8.922 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.3237, allocations: 24.66 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.3241, allocations: 264.8 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3241, allocations: 12.75 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.3241, allocations: 16.38 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.3246, allocations: 345 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3246, allocations: 3.938 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3247, allocations: 12 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/0.3247, allocations: 15.98 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.325, allocations: 265.3 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.3263, allocations: 1.092 MB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3265, allocations: 169.1 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.3265, allocations: 84.14 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.3265, allocations: 83.27 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3266, allocations: 106 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.675e-06/0.3266, allocations: 3.984 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.936e-05/0.3267, allocations: 57.3 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.3268, allocations: 126.7 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.3273, allocations: 0.5003 MB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.3273, allocations: 29.7 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3274, allocations: 167.8 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.3275, allocations: 4 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.3275, allocations: 33.61 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3277, allocations: 334.8 kB / 1.025 GB, free: 3.715 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.3277, allocations: 51.95 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.3278, allocations: 110.8 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.328, allocations: 114.7 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.328, allocations: 0 / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003057/0.3283, allocations: 193.1 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3283, allocations: 7.938 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3283, allocations: 4.25 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3284, allocations: 4 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3285, allocations: 19.98 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3285, allocations: 7.938 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-05/0.3286, allocations: 35.67 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.3286, allocations: 4 kB / 1.025 GB, free: 3.117 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.0001609/0.3288, allocations: 246 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.3289, allocations: 128.6 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.329, allocations: 142.8 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.719e-05/0.329, allocations: 188.2 kB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.906e-05/0.3291, allocations: 181.7 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/0.3292, allocations: 180.3 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3295, allocations: 493.1 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.473e-05/0.3295, allocations: 112.9 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.3295, allocations: 101 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/0.3296, allocations: 184.1 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.3297, allocations: 180.2 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.717e-05/0.3297, allocations: 184.2 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-05/0.3298, allocations: 180.3 kB / 1.027 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.3299, allocations: 327.4 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3301, allocations: 214.2 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.3302, allocations: 188.1 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3303, allocations: 113 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.3304, allocations: 184.3 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.3304, allocations: 108.9 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003333/0.3307, allocations: 367 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3307, allocations: 0 / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002623/0.331, allocations: 24 kB / 1.029 GB, free: 14.95 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.0001499/0.3312, allocations: 174.5 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.3313, allocations: 76.08 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3314, allocations: 0 / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.3314, allocations: 0 / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.3319, allocations: 487.5 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.3325, allocations: 480.3 kB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3328, allocations: 0.7788 MB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.451e-05/0.3329, allocations: 45.53 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.333, allocations: 15.44 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.333, allocations: 0 / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of Templates: time 0.004409/0.3374, allocations: 1.733 MB / 1.033 GB, free: 11.14 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 -s cvode -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