Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001233/0.001233, allocations: 103.7 kB / 16.41 MB, free: 6.5 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.001203/0.001203, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.431/2.431, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7221/0.7235, allocations: 159.1 MB / 1.221 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001939/0.7255, allocations: 0.7511 MB / 1.222 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002358/0.7257, allocations: 59.81 kB / 1.222 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.7258, allocations: 7.938 kB / 1.222 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.7259, allocations: 15.86 kB / 1.222 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.726, allocations: 15.92 kB / 1.222 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.7262, allocations: 23.98 kB / 1.222 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.7264, allocations: 119.7 kB / 1.222 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.7266, allocations: 160.5 kB / 1.222 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.7267, allocations: 67.78 kB / 1.222 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.7268, allocations: 79.58 kB / 1.222 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.7269, allocations: 12 kB / 1.222 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.7269, allocations: 12 kB / 1.222 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.727, allocations: 51.86 kB / 1.222 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.7271, allocations: 83.42 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.7273, allocations: 235.1 kB / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7274, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7274, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.7274, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.9356 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.0005737/0.728, allocations: 0.4967 MB / 1.223 GB, free: 140 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.728, allocations: 8.625 kB / 1.223 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.7281, allocations: 28.66 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.7284, allocations: 255.9 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.7284, allocations: 20.73 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.7285, allocations: 16.38 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.7289, allocations: 345.1 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.7289, allocations: 3.938 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.729, allocations: 8 kB / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.729, allocations: 12 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.7293, allocations: 271.8 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.7305, allocations: 1.084 MB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.7306, allocations: 173.1 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.7307, allocations: 88.17 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.7307, allocations: 75.28 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.7307, allocations: 106 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.7307, allocations: 0 / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.346e-05/0.7308, allocations: 57.3 kB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.7309, allocations: 126.7 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.7314, allocations: 0.5004 MB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.7314, allocations: 29.7 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.7315, allocations: 171.7 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-06/0.7316, allocations: 4 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.7316, allocations: 29.7 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.7318, allocations: 338.8 kB / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.7318, allocations: 51.89 kB / 1.227 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.732, allocations: 102.8 kB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.7321, allocations: 114.7 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7321, allocations: 4 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002907/0.7324, allocations: 193.1 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.7324, allocations: 13.66 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7324, allocations: 4.25 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.7325, allocations: 4 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.7326, allocations: 19.98 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7326, allocations: 3.938 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.713e-05/0.7327, allocations: 35.59 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.7327, allocations: 8 kB / 1.227 GB, free: 11.64 MB / 0.9512 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.0001576/0.7329, allocations: 249.5 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.733, allocations: 128.6 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.733, allocations: 146.8 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.782e-05/0.7331, allocations: 176.3 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-05/0.7332, allocations: 180.2 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.437e-05/0.7333, allocations: 176.3 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.7336, allocations: 0.4894 MB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/0.7336, allocations: 112.9 kB / 1.229 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.7337, allocations: 101 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.046e-05/0.7337, allocations: 184.1 kB / 1.229 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.7338, allocations: 180.3 kB / 1.229 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.794e-05/0.7339, allocations: 180.3 kB / 1.229 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-05/0.734, allocations: 185.1 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.7341, allocations: 331.5 kB / 1.23 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.7343, allocations: 217.8 kB / 1.23 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.7344, allocations: 180.2 kB / 1.23 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.7345, allocations: 112.9 kB / 1.23 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.7345, allocations: 184.3 kB / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.7346, allocations: 113.2 kB / 1.231 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003478/0.735, allocations: 363 kB / 1.231 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.735, allocations: 0 / 1.231 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002728/0.7352, allocations: 24 kB / 1.231 GB, free: 7.48 MB / 0.9512 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.0001788/0.7354, allocations: 170.5 kB / 1.231 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.7356, allocations: 75.94 kB / 1.231 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7356, allocations: 3.938 kB / 1.231 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.7356, allocations: 4 kB / 1.231 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.7361, allocations: 477.1 kB / 1.232 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.7368, allocations: 0.5013 MB / 1.232 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.7371, allocations: 0.7749 MB / 1.233 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.7372, allocations: 19.44 kB / 1.233 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.7372, allocations: 0 / 1.233 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of Templates: time 0.004362/0.7415, allocations: 2.658 MB / 1.236 GB, free: 2.742 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches