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.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.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.001518/0.001518, allocations: 111.9 kB / 15.99 MB, free: 6.344 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.001532/0.001533, allocations: 199.5 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.344/1.344, 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.404/2.404, allocations: 437 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 72.38 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3381, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002354/0.3405, allocations: 0.8078 MB / 1.018 GB, free: 10.19 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00026/0.3408, allocations: 51.83 kB / 1.018 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.3409, allocations: 0 / 1.018 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.3411, allocations: 19.86 kB / 1.018 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.3412, allocations: 7.984 kB / 1.018 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.3413, allocations: 30.22 kB / 1.018 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3415, allocations: 123.6 kB / 1.018 GB, free: 9.961 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.3418, allocations: 156.5 kB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.857e-05/0.3419, allocations: 71.78 kB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.342, allocations: 71.64 kB / 1.019 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.3421, allocations: 12 kB / 1.019 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.802e-05/0.3421, allocations: 12 kB / 1.019 GB, free: 9.641 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.3422, allocations: 51.84 kB / 1.019 GB, free: 9.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3423, allocations: 87.42 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3425, allocations: 179.7 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3425, allocations: 4 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3425, allocations: 0 / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.3426, allocations: 0 / 1.019 GB, free: 9.324 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.0006245/0.3432, allocations: 499.2 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3432, allocations: 8.922 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.3433, allocations: 24.66 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.3436, allocations: 271.7 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.3436, allocations: 16.75 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3437, allocations: 12.38 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.3442, allocations: 349.2 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3442, allocations: 3.938 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.3442, allocations: 8 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.3442, allocations: 16 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.3446, allocations: 267.8 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3458, allocations: 1.088 MB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.346, allocations: 169.1 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.346, allocations: 88.08 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.346, allocations: 79.22 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.3461, allocations: 110 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.3461, allocations: 3.938 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.719e-05/0.3462, allocations: 58.88 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.3463, allocations: 126.7 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.3468, allocations: 0.4925 MB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3468, allocations: 25.7 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3469, allocations: 175.8 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.3469, allocations: 4 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.347, allocations: 37.61 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3472, allocations: 334.8 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.3472, allocations: 47.97 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.3473, allocations: 102.8 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.3475, allocations: 114.8 kB / 1.023 GB, free: 4.57 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3475, allocations: 0 / 1.023 GB, free: 4.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003222/0.3479, allocations: 197.1 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3479, allocations: 11.06 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3479, allocations: 4 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3479, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.348, allocations: 23.92 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3481, allocations: 4.25 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3482, allocations: 35.69 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3482, allocations: 7.984 kB / 1.024 GB, free: 4.289 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.0002041/0.3484, allocations: 247.5 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.3485, allocations: 132.6 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.3486, allocations: 134.8 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.635e-05/0.3487, allocations: 180.3 kB / 1.024 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.817e-05/0.3487, allocations: 188.2 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.118e-05/0.3488, allocations: 176.3 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.3491, allocations: 497 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.3492, allocations: 105 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.3492, allocations: 109 kB / 1.025 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.578e-05/0.3493, allocations: 184.2 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.3494, allocations: 176.3 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.327e-05/0.3494, allocations: 188.2 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.939e-05/0.3495, allocations: 176.5 kB / 1.026 GB, free: 1.703 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.3496, allocations: 335.4 kB / 1.026 GB, free: 1.352 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3498, allocations: 217.9 kB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.3499, allocations: 188.1 kB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.35, allocations: 109 kB / 1.027 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.3501, allocations: 180.2 kB / 1.027 GB, free: 0.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.3501, allocations: 112.9 kB / 1.027 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004063/0.3505, allocations: 363 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3505, allocations: 0 / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002648/0.3508, allocations: 28 kB / 1.028 GB, free: 128 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.0001569/0.351, allocations: 174.5 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3511, allocations: 67.89 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3511, allocations: 0 / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.3512, allocations: 4.438 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.3518, allocations: 489.1 kB / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.3524, allocations: 0.5359 MB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3528, allocations: 0.7749 MB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3529, allocations: 19.42 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3529, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of Templates: time 0.004563/0.3575, allocations: 2.628 MB / 1.032 GB, free: 11.37 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 -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