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.008965/0.008965, allocations: 100.3 kB / 15.73 MB, free: 6.043 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.001545/0.001545, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.94/2.94, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.91 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3473, allocations: 157.4 MB / 1.208 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002421/0.3497, allocations: 0.7373 MB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003018/0.3501, allocations: 51.83 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.3501, allocations: 4 kB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.3503, allocations: 23.8 kB / 1.209 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.3504, allocations: 11.92 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.3506, allocations: 25.66 kB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.3508, allocations: 123.7 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.3512, allocations: 158.5 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.3513, allocations: 67.78 kB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3514, allocations: 75.64 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.3514, allocations: 12 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.192e-05/0.3515, allocations: 12 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.3516, allocations: 51.84 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3517, allocations: 91.41 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.352, allocations: 239.1 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.352, allocations: 0 / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.545e-06/0.352, allocations: 0 / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.609e-06/0.352, allocations: 0 / 1.209 GB, free: 7.871 MB / 0.9669 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.0006207/0.3526, allocations: 499 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3527, allocations: 12.62 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.3527, allocations: 24.64 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3531, allocations: 257.1 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3531, allocations: 16.75 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3531, allocations: 20.38 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.3536, allocations: 349 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3536, allocations: 3.938 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.3537, allocations: 4 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.3537, allocations: 20 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.354, allocations: 263.8 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3555, allocations: 1.092 MB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3556, allocations: 173.1 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.3556, allocations: 88.14 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.3557, allocations: 75.28 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.3558, allocations: 106 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.3558, allocations: 0 / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.00013/0.3559, allocations: 61.28 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.356, allocations: 126.7 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.3566, allocations: 0.4926 MB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3566, allocations: 33.64 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.3567, allocations: 175.7 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.3567, allocations: 0 / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.3568, allocations: 29.7 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.357, allocations: 342.8 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3571, allocations: 43.97 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3572, allocations: 102.8 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3573, allocations: 114.7 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3573, allocations: 4 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003131/0.3577, allocations: 193.1 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3577, allocations: 13.5 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3577, allocations: 256 / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3577, allocations: 8 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3578, allocations: 19.98 kB / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3579, allocations: 0 / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-05/0.358, allocations: 39.59 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.358, allocations: 11.98 kB / 1.214 GB, free: 2.832 MB / 0.9669 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.000161/0.3581, allocations: 249 kB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.3582, allocations: 124.6 kB / 1.214 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/0.3583, allocations: 146.8 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.604e-05/0.3584, allocations: 180.3 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.785e-05/0.3585, allocations: 176.3 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/0.3585, allocations: 184.2 kB / 1.215 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.359, allocations: 493.1 kB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/0.359, allocations: 104.9 kB / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.594e-05/0.3591, allocations: 109.5 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.16e-05/0.3592, allocations: 180.2 kB / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.3592, allocations: 184.2 kB / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-05/0.3593, allocations: 184.2 kB / 1.216 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.475e-05/0.3594, allocations: 180.4 kB / 1.216 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3596, allocations: 331.5 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3597, allocations: 217.8 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.3598, allocations: 180.2 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3599, allocations: 112.9 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.36, allocations: 180.3 kB / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.36, allocations: 112.9 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003588/0.3604, allocations: 366.9 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3604, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003089/0.3607, allocations: 28 kB / 1.218 GB, free: 14.68 MB / 0.9825 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.0001917/0.3609, allocations: 174.5 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.3611, allocations: 72.27 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3611, allocations: 0 / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.3611, allocations: 0 / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.3617, allocations: 482.5 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.3624, allocations: 479 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3627, allocations: 0.7751 MB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.3628, allocations: 53.5 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.3629, allocations: 23.44 kB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3629, allocations: 0 / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of Templates: time 0.005342/0.3683, allocations: 1.782 MB / 1.222 GB, free: 10.8 MB / 0.9825 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