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.00163/0.00163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001893/0.001893, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 72.03 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3434, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001984/0.3454, allocations: 0.8026 MB / 1.053 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.3457, allocations: 51.83 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.3457, allocations: 0 / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.3459, allocations: 15.92 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.346, allocations: 15.91 kB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.3461, allocations: 23.98 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3463, allocations: 123.6 kB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.3465, allocations: 148.5 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.3466, allocations: 55.8 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.3467, allocations: 71.64 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.3468, allocations: 11.98 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.554e-05/0.3468, allocations: 8 kB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.3469, allocations: 55.78 kB / 1.053 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.032e-05/0.347, allocations: 75.42 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3472, allocations: 219.3 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3472, allocations: 0 / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3472, allocations: 3.938 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3472, allocations: 4 kB / 1.054 GB, free: 7.184 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.0005417/0.3477, allocations: 0.4954 MB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3478, allocations: 8.031 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.3479, allocations: 24.66 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.3481, allocations: 260.3 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3482, allocations: 16.75 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3482, allocations: 16.38 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.3487, allocations: 341.2 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3487, allocations: 7.875 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.3487, allocations: 19.97 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.3488, allocations: 8 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.3491, allocations: 263.8 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3504, allocations: 1.096 MB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.3505, allocations: 169.1 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.3505, allocations: 80.14 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3506, allocations: 75.28 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.3506, allocations: 110 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3506, allocations: 4 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001144/0.3507, allocations: 53.34 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.3508, allocations: 134.6 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.3514, allocations: 0.4964 MB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3514, allocations: 25.7 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3516, allocations: 175.7 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.3516, allocations: 0 / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.3517, allocations: 41.61 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3518, allocations: 338.8 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.3519, allocations: 47.97 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.352, allocations: 90.83 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3521, allocations: 122.7 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3522, allocations: 0 / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003061/0.3525, allocations: 193.2 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3525, allocations: 11.88 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3525, allocations: 0 / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3525, allocations: 4 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3527, allocations: 19.98 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3527, allocations: 4 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3528, allocations: 27.69 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.3528, allocations: 24.17 kB / 1.058 GB, free: 2.137 MB / 0.8106 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.0001904/0.353, allocations: 250.5 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.3531, allocations: 128.6 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/0.3532, allocations: 130.8 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.884e-05/0.3532, allocations: 180.2 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.536e-05/0.3533, allocations: 184.2 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-05/0.3534, allocations: 188.2 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.3537, allocations: 489.1 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.072e-05/0.3538, allocations: 101 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.3538, allocations: 105.1 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-05/0.3539, allocations: 192.2 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.3539, allocations: 184.2 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.511e-05/0.354, allocations: 184.2 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.214e-05/0.3541, allocations: 180.2 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3543, allocations: 327.5 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3544, allocations: 213.8 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.3545, allocations: 188.2 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3546, allocations: 113 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.3547, allocations: 180.2 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.3547, allocations: 101 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003778/0.3551, allocations: 363 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3551, allocations: 3.938 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002686/0.3554, allocations: 28 kB / 1.062 GB, free: 13.99 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.0001635/0.3556, allocations: 178.5 kB / 1.062 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.3557, allocations: 71.83 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3557, allocations: 0 / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3557, allocations: 0 / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/0.3563, allocations: 0.5438 MB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.357, allocations: 0.5125 MB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3573, allocations: 0.7752 MB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.305e-05/0.3574, allocations: 49.52 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.3575, allocations: 19.44 kB / 1.064 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3575, allocations: 0 / 1.064 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.004797/0.3623, allocations: 1.676 MB / 1.066 GB, free: 10.11 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/jenkins/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