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.00151/0.00151, allocations: 100.1 kB / 15.88 MB, free: 12 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.00178/0.00178, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 461.8 MB / 0.7348 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 64.61 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3471, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002373/0.3495, allocations: 0.8001 MB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.3499, allocations: 59.81 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.3499, allocations: 3.938 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.3502, allocations: 11.94 kB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.3503, allocations: 15.91 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.3505, allocations: 23.97 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3507, allocations: 123.6 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.3509, allocations: 152.5 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.351, allocations: 51.8 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3511, allocations: 75.62 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.3512, allocations: 12 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.3512, allocations: 8 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.3513, allocations: 43.86 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3514, allocations: 79.42 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3516, allocations: 175.7 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3516, allocations: 7.984 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3516, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3516, allocations: 0 / 1.054 GB, free: 6.715 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.0006126/0.3523, allocations: 0.4954 MB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3523, allocations: 15.95 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.3524, allocations: 24.66 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.3527, allocations: 267.7 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.3527, allocations: 8.75 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.3528, allocations: 16.38 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.3533, allocations: 337.2 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3533, allocations: 3.938 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3533, allocations: 12 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.3534, allocations: 19.92 kB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.3538, allocations: 259.9 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.355, allocations: 1.092 MB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.3551, allocations: 169.1 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.3552, allocations: 84.08 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3552, allocations: 79.27 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.3553, allocations: 114 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 3.506e-06/0.3553, allocations: 0 / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001237/0.3554, allocations: 57.3 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.3555, allocations: 130.7 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.3561, allocations: 0.4964 MB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3561, allocations: 25.7 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3563, allocations: 167.8 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.3563, allocations: 4 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.3564, allocations: 33.61 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3565, allocations: 338.8 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.3566, allocations: 59.89 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3567, allocations: 94.83 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3569, allocations: 118.7 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3569, allocations: 0 / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003324/0.3573, allocations: 189.2 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3573, allocations: 7.938 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3573, allocations: 4 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3573, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3575, allocations: 23.92 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3575, allocations: 4 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3576, allocations: 39.67 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3576, allocations: 4 kB / 1.059 GB, free: 1.676 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.0001695/0.3578, allocations: 249.3 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.3579, allocations: 132.6 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.358, allocations: 130.8 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.751e-05/0.358, allocations: 188.2 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.928e-05/0.3581, allocations: 184.3 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.279e-05/0.3582, allocations: 176.3 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.3585, allocations: 497 kB / 1.06 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.339e-05/0.3586, allocations: 101 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.3586, allocations: 113 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.688e-05/0.3587, allocations: 184.2 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.3588, allocations: 184.2 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-05/0.3588, allocations: 184.4 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-05/0.3589, allocations: 180.3 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3591, allocations: 331.6 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3592, allocations: 209.9 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3593, allocations: 192.1 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3594, allocations: 116.8 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.3595, allocations: 180.2 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.3596, allocations: 101 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000362/0.3599, allocations: 367 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3599, allocations: 0 / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002782/0.3602, allocations: 24 kB / 1.063 GB, free: 13.52 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.0001869/0.3604, allocations: 182.5 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3606, allocations: 67.83 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3606, allocations: 0 / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.3606, allocations: 4 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.3611, allocations: 0.5477 MB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.3618, allocations: 0.5356 MB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3621, allocations: 0.7791 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.3622, allocations: 19.44 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3622, allocations: 0 / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.004778/0.367, allocations: 2.626 MB / 1.067 GB, free: 8.691 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