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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009592/0.0009594, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 183.3 kB / 16.92 MB, free: 6.652 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 14.62 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3258, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001199/0.327, allocations: 476.2 kB / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003173/0.3273, allocations: 55.83 kB / 1.06 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.3274, allocations: 3.938 kB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.3276, allocations: 15.86 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-05/0.3277, allocations: 15.91 kB / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.3279, allocations: 26.8 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.3281, allocations: 115.7 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.3283, allocations: 156.5 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.087e-05/0.3284, allocations: 35.8 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.3285, allocations: 43.61 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.3286, allocations: 4 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.3286, allocations: 0 / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.3286, allocations: 39.86 kB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.3287, allocations: 93.12 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.329, allocations: 179.7 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.329, allocations: 0 / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.329, allocations: 0 / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.329, allocations: 0 / 1.061 GB, free: 3.691 MB / 0.8106 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.0006098/0.3296, allocations: 463.4 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3297, allocations: 11.97 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.3297, allocations: 24.66 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.3301, allocations: 259.8 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3301, allocations: 12.75 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.3302, allocations: 24.38 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.3307, allocations: 345.1 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3307, allocations: 3.938 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.3308, allocations: 4 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.3308, allocations: 19.98 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.3313, allocations: 260.5 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.3327, allocations: 1.092 MB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.3328, allocations: 169.1 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.3328, allocations: 84.14 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3329, allocations: 79.28 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.3329, allocations: 106 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3329, allocations: 3.938 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.333, allocations: 53.36 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3331, allocations: 130.6 kB / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.3337, allocations: 0.5003 MB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3337, allocations: 25.7 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3339, allocations: 171.8 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-06/0.3339, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.3339, allocations: 17.72 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3341, allocations: 334.8 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.3341, allocations: 51.95 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/0.3342, allocations: 106.7 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.3344, allocations: 114.8 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3344, allocations: 0 / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003807/0.3348, allocations: 193.1 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3348, allocations: 11.92 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3348, allocations: 4 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3348, allocations: 0 / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.335, allocations: 19.98 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.335, allocations: 12.19 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3351, allocations: 35.59 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.3351, allocations: 4 kB / 1.065 GB, free: 14.71 MB / 0.8262 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.0003476/0.3355, allocations: 245.1 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3356, allocations: 140.5 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.3357, allocations: 134.8 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.668e-05/0.3358, allocations: 180.3 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.3359, allocations: 184.2 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001735/0.3361, allocations: 176.3 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.3364, allocations: 0.4893 MB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/0.3365, allocations: 105 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.3365, allocations: 105 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.136e-05/0.3366, allocations: 192.1 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.3366, allocations: 176.3 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.013e-05/0.3367, allocations: 184.2 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.102e-05/0.3368, allocations: 180.3 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.337, allocations: 327.7 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.3371, allocations: 229.8 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.3372, allocations: 188.1 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3373, allocations: 109 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.3374, allocations: 180.2 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3375, allocations: 104.9 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003875/0.3379, allocations: 367 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3379, allocations: 0 / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002707/0.3381, allocations: 27.98 kB / 1.069 GB, free: 10.54 MB / 0.8262 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.0001731/0.3383, allocations: 174.5 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.3385, allocations: 67.89 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3385, allocations: 0.5 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.3385, allocations: 8 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.3392, allocations: 0.551 MB / 1.07 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.3399, allocations: 0.5364 MB / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3403, allocations: 0.7752 MB / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.3404, allocations: 23.42 kB / 1.071 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3404, allocations: 0 / 1.071 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.005526/0.3459, allocations: 2.595 MB / 1.074 GB, free: 5.742 MB / 0.8262 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